com.atlassian.webdriver.browsers.chrome
Class ChromeBrowser
java.lang.Object
com.atlassian.webdriver.browsers.chrome.ChromeBrowser
public class ChromeBrowser
- extends Object
- Since:
- 2.1
|
Method Summary |
static org.openqa.selenium.chrome.ChromeDriver |
getChromeDriver()
|
static org.openqa.selenium.chrome.ChromeDriver |
getChromeDriver(com.atlassian.browsers.BrowserConfig browserConfig)
Configures a ChromeDriver based on the browserConfig |
static org.openqa.selenium.chrome.ChromeDriver |
getChromeDriver(String browserPath)
Gets a chrome driver based on the browser path based in |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getChromeDriver
public static org.openqa.selenium.chrome.ChromeDriver getChromeDriver()
getChromeDriver
public static org.openqa.selenium.chrome.ChromeDriver getChromeDriver(com.atlassian.browsers.BrowserConfig browserConfig)
- Configures a ChromeDriver based on the browserConfig
- Parameters:
browserConfig - browser config that points to the binary path of the browser and
optional profile
- Returns:
- A configured ChromeDriver based on the browserConfig passed in
getChromeDriver
public static org.openqa.selenium.chrome.ChromeDriver getChromeDriver(String browserPath)
- Gets a chrome driver based on the browser path based in
- Parameters:
browserPath - the path to the chrome binary to use for the chrome driver.
- Returns:
- A ChromeDriver that is using the binary at the browserPath
Copyright © 2014 Atlassian. All rights reserved.