-
Notifications
You must be signed in to change notification settings - Fork 23.2k
Expand file tree
/
Copy pathindex.md
More file actions
38 lines (25 loc) · 1.73 KB
/
Copy pathindex.md
File metadata and controls
38 lines (25 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
title: WebDriver
slug: Web/WebDriver
page-type: landing-page
sidebar: 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 provides tooling for [cross-browser testing](/en-US/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](/en-US/docs/Web/WebDriver/Reference/Classic) that uses HTTP, and [WebDriver BiDi](/en-US/docs/Web/WebDriver/Reference/BiDi) that uses WebSocket and enables bidirectional, event-driven communication.
## Reference
Browse the complete [WebDriver reference](/en-US/docs/Web/WebDriver/Reference) documentation.
- [WebDriver BiDi](/en-US/docs/Web/WebDriver/Reference/BiDi)
- : Reference for WebDriver BiDi modules, commands, and events.
- [WebDriver classic](/en-US/docs/Web/WebDriver/Reference/Classic)
- : Reference for WebDriver classic commands and timeouts.
- [Capabilities](/en-US/docs/Web/WebDriver/Reference/Capabilities)
- : Reference for WebDriver capabilities.
- [Errors](/en-US/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](/en-US/docs/Learn_web_development/Extensions/Testing)
- [Selenium documentation](https://www.selenium.dev/documentation/)