WebParser class

Constructors

WebParser.new({bool isDesktop = false})

Properties

controller ↔ WebViewController
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDesktop bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getHtml() Future<String>
goToGoogle() → void
init({void onFinished()?}) → void
initFetchJs() → void
loadUrl(String url, {bool runPageLoad = true}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseHTML() Future<Document>
parseHTMLtext(String html) → Document
query(String selector) Future<Element?>
queryAll(String selector) Future<List<Element>>
setFetchListener(dynamic onFetch(String message)) → dynamic
toString() String
A string representation of this object.
inherited
wait(int seconds) Future
waitForElement(String query, {int timeout = 10}) Future<void>
waitForText(String text, {int timeout = 10}) Future<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decodeUnicodeEscapeSequences(String input) String
headlessBrowse(String url, {void onFinished(WebParser web)?, dynamic isDesktop = true, bool showWebviewUI = false}) WebParser