Package at.willhaben.willtest.config
Class ElementScrollBehaviourConfigurator<D extends org.openqa.selenium.WebDriver>
- java.lang.Object
-
- at.willhaben.willtest.config.ElementScrollBehaviourConfigurator<D>
-
- All Implemented Interfaces:
WebDriverConfigurationParticipant<D>
@Deprecated public class ElementScrollBehaviourConfigurator<D extends org.openqa.selenium.WebDriver> extends java.lang.Object implements WebDriverConfigurationParticipant<D>
Deprecated.If an element should be clicked, and it is not in the viewport (not visible), then selenium has to scroll to make the element clickable. However, if you have the element then in the top of the viewport, then you might get problems with an fixed top menu bar, which would prevent your element from being clicked. This configurator lets you decide if you want to get scrolled elements at the top or bottom of the viewport.
-
-
Constructor Summary
Constructors Constructor Description ElementScrollBehaviourConfigurator(org.openqa.selenium.internal.ElementScrollBehavior elementScrollBehavior)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddDesiredCapabilities(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities)Deprecated.Can add desired capabilities to aWebDriverbefore it gets created.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface at.willhaben.willtest.config.WebDriverConfigurationParticipant
postConstruct
-
-
-
-
Method Detail
-
addDesiredCapabilities
public void addDesiredCapabilities(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities)
Deprecated.Description copied from interface:WebDriverConfigurationParticipantCan add desired capabilities to aWebDriverbefore it gets created.- Specified by:
addDesiredCapabilitiesin interfaceWebDriverConfigurationParticipant<D extends org.openqa.selenium.WebDriver>- Parameters:
desiredCapabilities- desired capabilities object, which can be adjusted
-
-