-
Interfaces Interface Description org.openqa.selenium.interactions.HasInputDevices org.openqa.selenium.interactions.HasTouchScreen org.openqa.selenium.interactions.Keyboard org.openqa.selenium.interactions.Mouse UseActions
and thePointerInput
instead.org.openqa.selenium.interactions.TouchScreen Replaced byActions
andPointerInput
.
-
Methods Method Description org.openqa.selenium.Capabilities.getPlatform() org.openqa.selenium.Capabilities.getVersion() org.openqa.selenium.Point.move(int, int) Use {Point.moveBy(int, int)
instead}org.openqa.selenium.Rectangle.setHeight(int) Rectangle objects are supposed to be immutable, all setters will be removed soonorg.openqa.selenium.Rectangle.setWidth(int) Rectangle objects are supposed to be immutable, all setters will be removed soonorg.openqa.selenium.Rectangle.setX(int) Rectangle objects are supposed to be immutable, all setters will be removed soonorg.openqa.selenium.Rectangle.setY(int) Rectangle objects are supposed to be immutable, all setters will be removed soonorg.openqa.selenium.WebDriver.Timeouts.implicitlyWait(long, TimeUnit) UseWebDriver.Timeouts.implicitlyWait(Duration)
Specifies the amount of time the driver should wait when searching for an element if it is not immediately present.When searching for a single element, the driver should poll the page until the element has been found, or this timeout expires before throwing a
NoSuchElementException
. When searching for multiple elements, the driver should poll the page until at least one element has been found or this timeout has expired.Increasing the implicit wait timeout should be used judiciously as it will have an adverse effect on test run time, especially when used with slower location strategies like XPath.
org.openqa.selenium.WebDriver.Timeouts.pageLoadTimeout(long, TimeUnit) UseWebDriver.Timeouts.pageLoadTimeout(Duration)
Sets the amount of time to wait for a page load to complete before throwing an error. The timeout value specified should be a positive number.org.openqa.selenium.WebDriver.Timeouts.setScriptTimeout(long, TimeUnit) UseWebDriver.Timeouts.setScriptTimeout(Duration)
Sets the amount of time to wait for an asynchronous script to finish execution before throwing an error. If the timeout is negative, then the script will be allowed to run indefinitely.