WipTarget class

Inheritance

Constructors

WipTarget(WipConnection connection)

Properties

connection WipConnection
finalinherited
hashCode int
The hash code for this object.
no setterinherited
onClosed Stream<WipDomain>
latefinalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activateTarget(String targetId) Future<WipResponse>
Activates (focuses) the target.
closeTarget(String targetId) Future<bool>
Closes the target. If the target is a page that gets closed too.
createTarget(String url) Future<String>
Creates a new page.
eventStream<T>(String method, WipEventTransformer<T> transformer) Stream<T>
inherited
exposeDevToolsProtocol(String targetId, {String? bindingName}) Future<WipResponse>
Inject object to the target's main frame that provides a communication channel with browser target. Injected object will be available as window[bindingName]. The object has the following API:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendCommand(String method, {Map<String, dynamic>? params}) Future<WipResponse>
inherited
toString() String
A string representation of this object.
inherited

Operators

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