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 of RemoteWebDriver to get information about remote-end readiness to create new sessions.
    • takeElementScreenshot() method of RemoteWebElement 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 original facebook/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 to WEBDRIVER_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() or takeElementScreenshot() methods), they are automatically created.
    • ๐Ÿ‘ป When zip archive cannot be created during file upload, throw an exception instead of silently returning false.
    • WebDriverNavigation and EventFiringWebDriverNavigation now both implement new WebDriverNavigationInterface.

    ๐Ÿ›  Fixed

    • WebDriverExpectedCondition::presenceOfElementLocated() works correctly when used within WebDriverExpectedCondition::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.