php-webdriver v1.8.0 Release Notes
Release Date: 2020-02-10 // about 4 years ago-
โ Added
- ๐ Experimental W3C WebDriver protocol support. The protocol will be used automatically when remote end (like Geckodriver, newer Chromedriver etc.) supports it.
getStatus()
method ofRemoteWebDriver
to get information about remote-end readiness to create new sessions.takeElementScreenshot()
method ofRemoteWebElement
to do the obvious - take screenshot of the particular element.- ๐ Support for sending custom commands via
executeCustomCommand()
. See wiki for more information.
๐ Changed
- The repository was migrated to
php-webdriver/php-webdriver
. - ๐ฆ The Packagist package was renamed to
php-webdriver/webdriver
and the originalfacebook/webdriver
was marked as abandoned. - โช Revert no longer needed workaround for Chromedriver bug 2943.
- ๐ Allow installation of Symfony 5 components.
- Rename environment variable used to pass path to ChromeDriver executable from
webdriver.chrome.driver
toWEBDRIVER_CHROME_DRIVER
. However the old one also still works to keep backward compatibility - If subdirectories in a path to screenshot destination does not exists (using
takeScreenshot()
ortakeElementScreenshot()
methods), they are automatically created. - ๐ป When zip archive cannot be created during file upload, throw an exception instead of silently returning false.
WebDriverNavigation
andEventFiringWebDriverNavigation
now both implement newWebDriverNavigationInterface
.
๐ Fixed
WebDriverExpectedCondition::presenceOfElementLocated()
works correctly when used withinWebDriverExpectedCondition::not()
.- Improper behavior of Microsoft Edge when retrieving all cookies via
getCookies()
(it was causing fatal error when there were no cookies). - Avoid "path is not canonical" error when uploading file to Chromedriver.