WebDriver BiDi Protocol
The following is a list of W3C WebDriver BiDi protocol commands supported in Appium.
Unlike other protocols that specify URL endpoints, the WebDriver BiDi protocol specifies commands sent as a websocket event, that both drivers and clients can emit or listen to.
bidiStatus¶
WebDriver BiDi documentation: session.status
Retrieves the current status of the Appium server.
Response¶
bidiSubscribe¶
WebDriver BiDi documentation: session.subscribe
Subscribes to one or more BiDi events.
Parameters¶
Name | Description | Type | Default |
---|---|---|---|
contexts? |
Contexts in which to subscribe to the specified events. By default, the global context scope is applied. | string[] | [''] |
events |
Names of events to subscribe to | string[] |
Response¶
null
bidiUnsubscribe¶
WebDriver BiDi documentation: session.unsubscribe
Unsubscribes from one or more BiDi events.
Parameters¶
Name | Description | Type | Default |
---|---|---|---|
contexts? |
Contexts in which to unsubscribe from the specified events. By default, the global scope is applied. | string[] | [''] |
events |
Names of events to unsubscribe from | string[] |
Response¶
null