Releases: instaclick/php-webdriver
Releases · instaclick/php-webdriver
1.4.18
1.4.17
1.4.16
2.0.0-RC8
Bug Fixes
moveto
returns "unknown command" on v4.3.0 of chrome webdriver (@slava-v)
Maintenance
1.4.15
1.4.14
2.0.0-RC7
WebDriver: W3C Editor's Draft 1 April 2022
- fix
$element->shadow()
: /session/:sessionid/element/:elementid/shadow (POST) - add
$session->getTimeouts()
: /session/:sessionId/timeouts (GET) - add
$session->newWindow()
: /session/:sessionId/window/new (POST)
Compat Busters
$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- removed the
$legacy
parameter from constructors; this used to be the$w3c
property from 2.0.0-RC4
Enhancements
- serialize/unserialize elements and shadow roots in
execute()
andexecute_async()
arguments and return value (@mvorisek)
Refactoring
final
keyword now only appears on classes that purely houseconst
s- renamed
webDriverElement()
tomakeElement()
- renamed
getElementPath()
togetIdentifierPath()
- renamed W3C identifier consts , i.e.,
WEBDRIVER_
prefix is nowWEB_
Housekeeping
- move boilerplate license to a separate file; compress the
@copyright
,@license
, and@author
tags - update external links in README
- phpdocs, phpstan