Package at.willhaben.willtest.config
Class DefaultFirefoxConfigurationParticipant<D extends org.openqa.selenium.WebDriver>
- java.lang.Object
-
- at.willhaben.willtest.config.DefaultFirefoxConfigurationParticipant<D>
-
- All Implemented Interfaces:
FirefoxConfigurationParticipant,WebDriverConfigurationParticipant<D>
@Deprecated public class DefaultFirefoxConfigurationParticipant<D extends org.openqa.selenium.WebDriver> extends java.lang.Object implements FirefoxConfigurationParticipant, WebDriverConfigurationParticipant<D>
Deprecated.Default settings for Firefox. Features:- Geo testing enabled
- Enables javascript
- Enables using a different display, for instance a virtual frame buffer
- Moves the opened window to the left screen maximized with Full HD resolution.
-
-
Constructor Summary
Constructors Constructor Description DefaultFirefoxConfigurationParticipant()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.voidadjustFirefoxBinary(org.openqa.selenium.firefox.FirefoxBinary firefoxBinary)Deprecated.It can adjust aFirefoxBinary.voidadjustFirefoxProfile(org.openqa.selenium.firefox.FirefoxProfile firefoxProfile)Deprecated.It can adjust aFirefoxProfile.voidpostConstruct(D webDriver)Deprecated.Moves window to the first display, and maximizes there.
-
-
-
Method Detail
-
adjustFirefoxBinary
public void adjustFirefoxBinary(org.openqa.selenium.firefox.FirefoxBinary firefoxBinary)
Deprecated.Description copied from interface:FirefoxConfigurationParticipantIt can adjust aFirefoxBinary. For example it can set environment entries for the Firefox process- Specified by:
adjustFirefoxBinaryin interfaceFirefoxConfigurationParticipant- Parameters:
firefoxBinary- binary to be adjusted
-
adjustFirefoxProfile
public void adjustFirefoxProfile(org.openqa.selenium.firefox.FirefoxProfile firefoxProfile)
Deprecated.Description copied from interface:FirefoxConfigurationParticipantIt can adjust aFirefoxProfile. It can load for example browser plugins.- Specified by:
adjustFirefoxProfilein interfaceFirefoxConfigurationParticipant- Parameters:
firefoxProfile- the profile to be adjusted
-
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
-
postConstruct
public void postConstruct(D webDriver)
Deprecated.Moves window to the first display, and maximizes there. This is practical in case of local testing.- Specified by:
postConstructin interfaceWebDriverConfigurationParticipant<D extends org.openqa.selenium.WebDriver>- Parameters:
webDriver- webdriver to be changed- See Also:
WebDriverConfigurationParticipant.postConstruct(WebDriver)
-
-