网页
综合
更新时间 2026-03-24 19:54:02
WebDriver | MDN
自动蜘蛛
developer.mozilla.org
正文约 1300 字
HTML: Markup language
CSS: Styling language
JavaScript: Scripting language
Web APIs: Programming interfaces
Learn web development
Get to know MDN better
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, 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 that uses HTTP, and WebDriver BiDi that uses WebSocket and enables bidirectional, event-driven communication.
Browse the complete WebDriver reference documentation.
Reference for WebDriver BiDi modules, commands, and events.
Reference for WebDriver classic commands and timeouts.
Reference for WebDriver capabilities.
Reference for WebDriver errors.
This page was last modified on Mar 24, 2026 by MDN contributors.
Your blueprint for a better internet.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。