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.
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_type | landing-page |
|---|---|
| tags |