mdn.go-v.org

WebDriver

WebDriver is a browser automation interface that allows external programs to remotely inspect and control a browser. It is a platform- and language-neutral wire protocol, supporting both command-based automation and real-time, event-driven communication.

source: MDN Web Docslicence: CC BY-SA 2.5+ (MDN)database: /home/dbs/mdn.dbmode: tablerecords: 14753 (max_rowid)citation: https://developer.mozilla.org/

WebDriver is a browser automation interface that allows external programs to remotely inspect and control a browser. It is a platform- and language-neutral wire protocol, supporting both command-based automation and real-time, event-driven communication.

Full text

WebDriver is a browser automation interface that allows external programs to remotely inspect and control a browser. It is a platform- and language-neutral wire protocol, supporting both command-based automation and real-time, event-driven communication.

WebDriver provides tooling for [cross-browser testing](/docs/Learn_web_development/Extensions/Testing/Introduction), helping teams deliver consistent user experiences across many browsers and platforms. It is intended to allow web authors to write tests to automate a browser from a separate controlling process.

WebDriver is available in two variants: [WebDriver classic](/docs/Web/WebDriver/Reference/Classic) that uses HTTP, and [WebDriver BiDi](/docs/Web/WebDriver/Reference/BiDi) that uses WebSocket and enables bidirectional, event-driven communication.

## Reference

Browse the complete [WebDriver reference](/docs/Web/WebDriver/Reference) documentation.

- [WebDriver BiDi](/docs/Web/WebDriver/Reference/BiDi)
- : Reference for WebDriver BiDi modules, commands, and events.

- [WebDriver classic](/docs/Web/WebDriver/Reference/Classic)
- : Reference for WebDriver classic commands and timeouts.

- [Capabilities](/docs/Web/WebDriver/Reference/Capabilities)
- : Reference for WebDriver capabilities.

- [Errors](/docs/Web/WebDriver/Reference/Errors)
- : Reference for WebDriver errors.

## Specifications

- [WebDriver](https://w3c.github.io/webdriver/)
- [WebDriver BiDi](https://w3c.github.io/webdriver-bidi/)

## See also

- [Testing](/docs/Learn_web_development/Extensions/Testing)
- [Selenium documentation](https://www.selenium.dev/documentation/)

Fields

page_typelanding-page
tags
source: MDN Web Docslicence: CC BY-SA 2.5+ (MDN)year: —id: Web/WebDrivercitation: https://developer.mozilla.org/en-US/docs/Web/WebDriver

JSON · full text · full-text JSON

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.