php-webdriver v1.12.1 Release Notes
Release Date: 2022-05-03 // about 1 year ago-
๐ Fixed
- ๐ Improper PHP documentation for
getAttribute()
andgetDomProperty()
. - Unsafe use of
static::
when accessing private property inDesiredCapabilities
. - ๐ PHP 8.1 deprecations in the
Cookie
class.
๐ Changed
- ๐ Docs: Extend
findElement()
/findElements()
method documentation to better explain XPath behavior. - โ Add
@return
and@param
type annotations to Cookie class to avoid deprecations in PHP 8.1.
- ๐ Improper PHP documentation for
Previous changes from v1.12.0
-
โ Added
RemoteWebElement::getDomProperty()
method to read JavaScript properties of an element (like the value ofinnerHTML
etc.) in W3C mode.WebDriverCommand::newSession()
constructor to create new session command without violating typehints.
๐ Changed
- ๐ Allow installation of Symfony 6 components.
๐ Fixed
- PHP 8.1 compatibility.