MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

Below is a list of all WebDriver commands and their current support based on what is in the WebDriver Specification. There are other items from WebDriver not in this list that may have been implemented already.

WebDriver Commands

Method URL Command Status
POST /session New Session

Partially complete

DELETE /session/{sessionId} Delete Session Complete
GET /status Status Complete
POST /session/{sessionId}/url Get

Partially complete

  • Bug 1264259 - Implement user prompt handler
  • Bug 1280448 - Basic auth information lost when navigating
  • Bug 1333458 - Improve logic to determine if a load event is expected 

GET /session/{sessionId}/source Get Page Source

Partially complete

GET /session/{sessionId}/url Get Current URL

Partially complete

POST /session/{sessionId}/back Back

Partially complete

POST /session/{sessionId}/forward Forward

Partially complete

POST /session/{sessionId}/refresh Refresh

Partially complete

  • Bug 1264259 - Implement user prompt handler
  • Bug 1291320 - Marionette does not wait for load event when refreshing the document

GET /session/{sessionId}/title Get Title

Partially complete

  • Bug 1255946 - Getting top-level browsing context’s title from nested browsing context if frame is changed with target=_top does not work
  • Bug 1264259 - Implement user prompt handler
DELETE /session/{sessionId}/window Close Window

Partially complete

GET /session/{sessionId}/window/handle Get Window Handle

Partially complete

GET /session/{sessionId}/window/handles Get Window Handles

Partially complete

GET /session/{sessionId}/window/rect Get Window Rect

Incomplete

POST /session/{sessionId}/window/rect Set Window Rect

Incomplete

POST /session/{sessionId}/window/size Set Window Size

Partially complete

GET /session/{sessionId}/window/size Get Window Size

Partially complete

POST /session/{sessionId}/window/maximize Maximize Window

Partially complete

POST /session/{sessionId}/window/fullscreen Fullscreen Window

Implementation started

POST /session/{sessionId}/window Switch To Window

Partially complete

  • Bug 1264259 - Implement user prompt handler
  • Bug 1301073 - Switch To Window should not allow switching by window name
  • Bug 1305822 - Marionette should switch back to the top-level context when switching windows
POST /session/{sessionId}/frame Switch To Frame

Partially complete

POST /session/{sessionId}/frame/parent Switch To Parent Frame

Partially complete

POST /session/{sessionId}/element Find Element

Partially complete

POST /session/{session id}/element/{element id}/element Find Element From Element

Partially complete

POST /session/{sessionId}/elements Find Elements

Partially complete

POST /session/{session id}/element/{element id}/elements Find Elements From Element

Partially complete

GET /session/{sessionId}/element/{elementId}/selected Is Element Selected

Incomplete

GET /session/{sessionId}/element/{elementId}/attribute/{name} Get Element Attribute

Partially complete

GET /session/{sessionId}/element/{elementId}/property/{name} Get Element Property

Partially complete

GET /session/{sessionId}/element/{elementId}/css/{propertyName} Get Element CSS Value

Partially complete

GET /session/{sessionId}/element/{elementId}/text Get Element Text

Partially complete

GET /session/{sessionId}/element/{elementId}/name Get Element Tag Name

Partially complete

GET /session/{sessionId}/element/{elementId}/rect Get Element Rect

Partially complete

GET /session/{sessionId}/element/{elementId}/enabled Is Element Enabled

Partially complete

POST /session/{sessionId}/execute Execute Script

Incomplete

POST /session/{sessionId}/execute_async Execute Async Script

Incomplete

GET /session/{sessionId}/cookie/{name} Get Cookie

Partially complete

POST /session/{sessionId}/cookie Add Cookie

Partially complete

DELETE /session/{sessionId}/cookie/{name} Delete Cookie

Partially complete

GET /session/{sessionId}/timeouts Get Timeouts

Complete

POST /session/{sessionId}/timeouts Set Timeouts

Partially complete

POST /session/{sessionId}/actions Perform Actions

Partially complete

  • Bug 1264259 - Implement user prompt handler
  • Bug 1292178 - [meta] Implement W3C WebDriver-compatible Actions API implementation in marionette
  • Bug 1332279 - Actions keyDown/keyUp do not set the keyCode

POST /session/{sessionId}/element/{elementId}/click Element Click

Partially complete

  • Bug 1223277 - Clicking an element that closes the current window causes the session to hang 
  • Bug 1255960 - clearing multiple select list
  • Bug 1260557 - Clicking link to open window second time closes the opened window
  • Bug 1264259 - Implement user prompt handler
  • Bug 1355546 - Remove check for whether element is disabled when clicking element
POST /session/{sessionId}/element/{elementId}/clear Element Clear

Incomplete

POST /session/{sessionId}/element/{elementId}/value Element Send Keys

Partially complete

POST /session/{sessionId}/dismiss/alert Dismiss Alert

Partially complete

  • Bug 1263661 - Associate user prompts with browser, and not with session
POST /session/{sessionId}/alert/accept Accept Alert

Partially complete

  • Bug 1263661 - Associate user prompts with browser, and not with session
GET /session/{sessionId}/alert/text Get Alert Text

Partially complete

  • Bug 1263661 - Associate user prompts with browser, and not with session
POST /session/{sessionId}/alert/text Send Alert Text

Partially complete

  • Bug 1255906 - Send Alert Text should accept input as array of characters
  • Bug 1263661 - Associate user prompts with browser, and not with session
GET /session/{sessionId}/screenshot Take Screenshot

Partially complete

GET /session/{sessionId}/element/{elementId}/screenshot Take Element Screenshot

Partially complete

For a full list of bugs, have a look on Bugzilla.

Document Tags and Contributors

 Contributors to this page: ato, Whimboo, automatedtester, vkatsikaros, rolfedh
 Last updated by: ato,