NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1568 most downloaded on Packagist
PHP WebDriver for Selenium 2
Latest stable
1.4.20
Last release 11 months ago
04 Dec 2025
Release timing varies
gaps range from 2 weeks to 1.7 years
Some releases are documented
notes for 15 of 45 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
56 releases · first in 2012
Drag across the ruler to compare, or tap a release to open it.
refs #119 - updating phpdocs for focusWindow
moveto returns "unknown command" on v4.3.0 of chrome webdriver (@slava-v)
Bug Fixes
moveto returns "unknown command" on v4.3.0 of chrome webdriver (@slava-v)Maintenance
$session->isW3C() and flip the $legacy logicYour coding agent can read these notes before it upgrades. Set up the MCP server →
fix $element->shadow(): /session/:sessionid/element/:elementid/shadow (POST)
$element->shadow(): /session/:sessionid/element/:elementid/shadow (POST)$session->getTimeouts(): /session/:sessionId/timeouts (GET)$session->newWindow(): /session/:sessionId/window/new (POST)$session->window() on legacy JSON Wire Protocol no longer closes a window; use $session->deleteWindow() instead$session->legacyWindow() from 2.0.0-BETA removed; $session->window() now returns Window or LegacyWindow objects for method chaining$session->execute() and $session->execute_async() wrap both the legacy JSON Wire Protocol and W3C Webdriver Protocol$legacy parameter from constructors; this used to be the $w3c property from 2.0.0-RC4execute() and execute_async() arguments and return value (@mvorisek)final keyword now only appears on classes that purely house constswebDriverElement() to makeElement()getElementPath() to getIdentifierPath()WEBDRIVER_ prefix is now WEB_@copyright, @license, and @author tagsNothing published for this version
move auto-init of curl service (@vibbow)
Add "New Window" endpoint from W3C spec
Changes:
Fix error during legacy javascript execution (@shavounet and @CJMCT89)
preg_replace() requires quoting, especially for PHP 7.3 (@stronk7)Fixes legacy session->execute($jsonScript) - @stof
Changes:
move unserializeResult() back and fix phpstan errors
move unserializeResult() back and fix phpstan errors
Reviewed changes to the latest Candidate Recommendation spec. November 24, 2017.
Reviewed changes to the latest Candidate Recommendation spec. November 24, 2017.
WebDriver W3C Candidate Recommendation 26 September 2017
WebDriver W3C Candidate Recommendation 26 September 2017
Compat Busters
For newer web drivers that implement the WebDriver W3C candidate recommendation spec
$session->window() now returns a WebDriver\Window object for method chaining$element->submit(), $element->equals(), $element->displayed(), $element->location(), $element->location_in_view() and $element->size() are unsupported; refer to $element->click(), $element->property(), and $element->rect()$session->keys(), $session->orientation(), $session->alert_text(), $session->dismiss_text(), $session->moveto(), $session->click(), $session->buttondown(), $session->buttonup(), $session->doubleclick(), $session->execute_sql(), $session->location(), $session->browser_connection(), $session->window_handle(), $session->window_handles(), and $session->execute_async() are unsupported; refer to $session->actions(), $session->alert(), and $session->execute()For older web drivers still using the (legacy) JSON Wire Protocol:
$session->legacyWindow() instead of $session->window()The curl_close function is a no-op as of PHP 8.0 (when the curl extension migrated from resources to objects) and is deprecated as of PHP 8.5.
The curl_close function is a no-op as of PHP 8.0 (when the curl
extension migrated from resources to objects) and is deprecated as of
PHP 8.5.
ci cosmetic: remove trailing whitespace
ci cosmetic: remove trailing whitespace
moveto fix broke php5 compatibilty issue (@phil-davis)
Bugs:
rework attribute() and css() to explicitly add their $parameters to URL
Bug Fixes:
$parameters (array) replaced with {}Maintenance:
attribute() and css() to explicitly add their $parameters to URL$session->focusWindow() - support handle parameter for W3C compatibility (Selenium 3.x & Firefox) (@mvorisek)
Bug Fixes:
$session->focusWindow() - support handle parameter for W3C compatibility (Selenium 3.x & Firefox) (@mvorisek)moveto returns "unknown command" on v4.3.0 of chrome webdriver (@slava-v)
Bug Fixes
moveto returns "unknown command" on v4.3.0 of chrome webdriver (@slava-v)Maintenance
master branchFix compatibility with Selenium 2.x (@mvorisek)
Changes:
Fixes @robocoder's b0rked refactoring in 1.4.12. Thanks @mvorisek
Fixes @robocoder's b0rked refactoring in 1.4.12. Thanks @mvorisek
serialize/unserialize W3C web elements in execute and execute_async arguments and return value (@mvorisek)
Enhancements:
execute and execute_async arguments and return value (@mvorisek)Maintenance:
Backported error handling fixes from master branch
Backported error handling fixes from master branch
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Adds the "deleteJob" call implementation for SauceLabs REST API (@aik099)
Fixes:
re-enable file method (Selenium server only)
log methodsfile method (Selenium server only)Nothing published for this version
Support for session/:sessionId/frame/parent - Change focus to frame's parent
Nothing published for this version
Remove Expect: header when empty POST/PUT body [@komex]
Bug Fixes:
Maintenance:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
update README.rst to reflect development has diverged significantly from upstream; that is, we have now "unforked" from facebook/php-webdriver
Nothing published for this version
One column per quarter.