This "classic" W3C WebDriver client implementation is based on the php-webdriver project by Justin Bishop. Originally conceived as a thin wrapper around the JSON Wire Protocol, the client has been refactored to work with the W3C WebDriver Protocol, with some fallback/emulation for older drivers. We'll continue to track changes to the specs but there are no immediate plans to add WebDriver-BiDi support.
If you are starting a new project (using PHP 7.3 or above), you should consider using Meta/Facebook's completely rewritten (and more actively maintained) php-webdriver.
- Up-to-date with:
- In the master branch, class names and file organization follow PSR-0 conventions for namespaces.
- Coding style follows PSR-1, PSR-2, and Symfony2 conventions.
These are the default ports that these WebDrivers listen on. If running
multiple WebDrivers concurrently, you can avoid conflict by using the
--port
option to listen on a different port.
WebDriver | Port |
---|---|
ChromeDriver | 9515 |
GeckoDriver | 4444 |
SafariDriver | 7055 |
Selenium | 4444 |
- The 1.x branch is up-to-date with the legacy Selenium 2 JSON Wire Protocol.
- The 5.2.x branch is no longer maintained. This branch features class names and file re-organization that follow PEAR/ZF1 conventions. Bug fixes and enhancements from the master branch likely won't be backported.