29 April, 2019

Selenium 4.0 alpha Changes


1.Added driver.switchTo().parentFrame()
2.Replaced WebElement.getSize() and WebElement.getLocation() with a single method, WebElement.getRect()
3.Changes to the Builder class:
Added setChromeService, setEdgeService, & setFirefoxService
    Removed setEnableNativeEvents
    Removed setScrollBehavior
4.Changes to chrome.Driver
Added sendDevToolsCommand
    Added setDownloadPath
5.Changes to chrome.Options
Now extends the Capabilities class
    Removed from/toCapabilities
7.Changes to firefox.Driver
Added installAddon(path)
    Added uninstallAddon(id)
8.Changes to firefox.Options
Now extends the Capabilities class
    Removed from/toCapabilities
    Removed setLoggingPreferences (was a no-op)
    setProfile now only accepts a path to an existing profile
    Added addExtensions
    Added setPreference
9.Changes to lib/webdriver.Window (driver.manage().window()):
Added,getRect,setRect,fullscreen,minimize.
10.Future Version-add pollTimeout argument to the wait() method

No comments: