In order to implement some missing messages from mjsonWire protocol, I need to define some custom commands when using remote server. How can it be achieved?
I've tried using private executors from webdriver instance, but they does not give the defineCommand method.
The commands I need to implement are the ones related of manipulating session context:
GET /session/:sessionId/context
Get the current context (mjsonWire).
POST /session/:sessionId/context
Set the current context (mjsonWire).
GET /session/:sessionId/contexts
Get a list of the available contexts (mjsonWire).
Hi,
In order to implement some missing messages from mjsonWire protocol, I need to define some custom commands when using remote server. How can it be achieved?
I've tried using private executors from webdriver instance, but they does not give the defineCommand method.
The commands I need to implement are the ones related of manipulating session context:
https://github.com/admc/wd/blob/master/doc/jsonwire-full-mapping.md
I'm currently using javascript implementation of selenium-webdriver.
Thank you!