Package com.isomorphic.webdriver
Class SmartClientFirefoxDriver
java.lang.Object
com.isomorphic.webdriver.SmartClientWebDriver
com.isomorphic.webdriver.SmartClientFirefoxDriver
- All Implemented Interfaces:
org.openqa.selenium.interactions.Interactive,org.openqa.selenium.JavascriptExecutor,org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebDriver
Implementation of SmartClient specific WebDriver using Firefox.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor with default profile.SmartClientFirefoxDriver(org.openqa.selenium.Capabilities capabilities) Deprecated.SmartClientFirefoxDriver(org.openqa.selenium.firefox.FirefoxBinary binary) Deprecated.useSmartClientFirefoxDriver(FirefoxOptions)insteadSmartClientFirefoxDriver(org.openqa.selenium.firefox.FirefoxBinary binary, org.openqa.selenium.firefox.FirefoxProfile profile) Deprecated.useSmartClientFirefoxDriver(FirefoxOptions)insteadSmartClientFirefoxDriver(org.openqa.selenium.firefox.FirefoxOptions options) Constructor takingFirefoxOptions.SmartClientFirefoxDriver(org.openqa.selenium.firefox.FirefoxProfile profile) Deprecated.useSmartClientFirefoxDriver(FirefoxOptions)insteadSmartClientFirefoxDriver(org.openqa.selenium.firefox.GeckoDriverService service, org.openqa.selenium.firefox.FirefoxOptions options) Constructor taking a caller-built geckodriver service andFirefoxOptions. -
Method Summary
Methods inherited from class com.isomorphic.webdriver.SmartClientWebDriver
assertEval, assertEval, assertEval, assertEval, assertEval, blur, clearCanvasProperty, clearTolerances, click, clickAndHold, clickAndHoldAt, clickAt, contextClick, controlKeyDown, controlKeyUp, doubleClick, dragAndDrop, dragAndDrop, dragAndDropBy, focus, focus, focus, get, get, getElementHeight, getElementPositionLeft, getElementPositionTop, getElementWidth, getEval, getEval, getTable, getText, getValue, getValueAsString, getValueAsString, keyDown, keyDown, keyPress, keyPress, keyUp, keyUp, mouseMove, mouseMoveAt, pause, release, releaseAt, scrollIntoViewIfNeeded, scrollIntoViewIfNeeded, secondClick, selectWindowByName, selectWindowByTitle, sendData, sendKeys, setAllowCoordClickOnOccludingElement, setAllowJavaScriptToStringMatch, setBaseUrl, setCanvasHeightTolerance, setCanvasProperty, setCanvasPropertyFalse, setCanvasPropertyTrue, setCanvasWidthTolerance, setClientLogLevel, setClientLogLevel, setDefaultImplicitWait, setDefaultWaitTimeout, setElementTolerance, setMaxDragPause, setOccludedElementApproach, setServerLogLevel, setUseFrameworkValueAsFallback, setValueTolerance, shiftKeyDown, shiftKeyUp, showConsole, type, type, type, verifyCanvasHeight, verifyCanvasWidth, verifyElementClickable, verifyElementHeight, verifyElementHeightWithTolerance, verifyElementPositionLeft, verifyElementPositionTop, verifyElementPresent, verifyElementReadyForKeyPresses, verifyElementSelected, verifyElementVisible, verifyElementWidth, verifyElementWidthWithTolerance, verifyTable, verifyText, verifyText, verifyTextPresent, verifyTextPresent, verifyTitle, verifyValue, verifyValue, verifyValue, verifyValue, verifyValueEmpty, verifyValueWithTolerance, verifyValueWithTolerance, verifyValueWithTolerance, waitForCanvasDone, waitForCanvasDone, waitForCondition, waitForCondition, waitForCondition, waitForElementClickable, waitForElementClickable, waitForElementInViewport, waitForElementInViewport, waitForElementNotClickable, waitForElementNotClickable, waitForElementNotPresent, waitForElementNotPresent, waitForElementNotVisible, waitForElementNotVisible, waitForElementPresent, waitForElementPresent, waitForElementReadyForKeyPresses, waitForElementReadyForKeyPresses, waitForElementVisible, waitForElementVisible, waitForEval, waitForEval, waitForFormDone, waitForFormDone, waitForFrameToLoad, waitForGridDone, waitForGridDone, waitForGridDone, waitForGridDone, waitForHoverTextPresent, waitForHoverTextPresent, waitForItemDone, waitForItemDone, waitForSystemDone, waitForSystemDone, waitForSystemDone, waitForSystemDone, waitForSystemDone, waitForSystemDone, waitForSystemDone, waitForSystemDone, waitForSystemDone, waitForText, waitForText, waitForTileGridDone, waitForTileGridDone, waitForTileLayoutDone, waitForTileLayoutDone, waitForValue, waitForValue
-
Constructor Details
-
SmartClientFirefoxDriver
public SmartClientFirefoxDriver()Default constructor with default profile. -
SmartClientFirefoxDriver
Deprecated.useSmartClientFirefoxDriver(FirefoxOptions)insteadConstructor taking a specified set of driver capabilities.- Parameters:
capabilities- desired driver capabilities
-
SmartClientFirefoxDriver
Deprecated.useSmartClientFirefoxDriver(FirefoxOptions)insteadConstructor taking a profile.- Parameters:
profile- custom profile
-
SmartClientFirefoxDriver
Deprecated.useSmartClientFirefoxDriver(FirefoxOptions)insteadConstructor taking a binary reference and the default profile. The binary reference allows you to specify a path to the Firefox executable - in case more than one version is installed. (For example,new FirefoxBinary(new File("/home/user/ff52esr/firefox")).)- Parameters:
binary- path-specific Firefox executable reference
-
SmartClientFirefoxDriver
@Deprecated public SmartClientFirefoxDriver(org.openqa.selenium.firefox.FirefoxBinary binary, org.openqa.selenium.firefox.FirefoxProfile profile) Deprecated.useSmartClientFirefoxDriver(FirefoxOptions)insteadConstructor taking a profile and binary reference. The binary reference allows you to specify a path to the Firefox executable - in case more than one version is installed. (For example,new FirefoxBinary(new File("/home/user/ff52esr/firefox")).)- Parameters:
binary- path-specific Firefox executable referenceprofile- custom profile
-
SmartClientFirefoxDriver
public SmartClientFirefoxDriver(org.openqa.selenium.firefox.FirefoxOptions options) Constructor takingFirefoxOptions.- Parameters:
options- custom options
-
SmartClientFirefoxDriver
public SmartClientFirefoxDriver(org.openqa.selenium.firefox.GeckoDriverService service, org.openqa.selenium.firefox.FirefoxOptions options) Constructor taking a caller-built geckodriver service andFirefoxOptions. Use it when the geckodriver control port has to be a port you chose, typically one reserved for the purpose in an environment that runs several browsers and servers side by side; build the service withSmartClientGeckoDriverServiceBuilderand itsusingPort().Firefox is started without its remote-debugging listener: the
moz:debuggerAddresscapability is forced off. That listener is not reachable through SmartClientWebDriver, and leaving it on would make Firefox open a second, Selenium-chosen port, defeating the fixed service port.- Parameters:
service- geckodriver service, normally from SmartClientGeckoDriverServiceBuilderoptions- custom options; may be null
-
SmartClientFirefoxDriver(FirefoxOptions)instead