public class DisplayAwareFirefoxChromeLauncher
extends org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
FirefoxChromeLauncher
class from selenium so we can control the display system property
to get xvfb to work.| Modifier and Type | Class and Description |
|---|---|
static class |
DisplayAwareFirefoxChromeLauncher.ChromeUrlConvert |
protected class |
DisplayAwareFirefoxChromeLauncher.FileLockRemainedException |
| Constructor and Description |
|---|
DisplayAwareFirefoxChromeLauncher(org.openqa.selenium.Capabilities browserOptions,
org.openqa.selenium.server.RemoteControlConfiguration configuration,
String sessionId,
org.openqa.selenium.browserlaunchers.locators.BrowserInstallation browserInstallation) |
DisplayAwareFirefoxChromeLauncher(org.openqa.selenium.Capabilities browserOptions,
org.openqa.selenium.server.RemoteControlConfiguration configuration,
String sessionId,
String browserString) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
copyCert8db(File firefoxProfileTemplate) |
protected void |
copyDirectory(File sourceDir,
File destDir) |
protected void |
copySingleFileWithOverwrite(File sourceFile,
File destFile) |
protected void |
createCustomProfileDir() |
protected void |
extractProfileFromJar() |
protected void |
generatePacAndPrefJs(String homePage) |
protected File |
getFileFromParent(File parent,
String child) |
protected File |
initProfileTemplate() |
protected void |
killFirefoxProcess()
Wrapper to allow for stubbed-out testing *
|
protected void |
launch(String url) |
void |
launchHTMLSuite(String suiteUrl,
String browserURL) |
void |
launchRemoteSession(String browserURL) |
protected org.openqa.selenium.os.CommandLine |
prepareCommand(String... commands) |
protected void |
removeCustomProfileDir()
Wrapper to allow for stubbed-out testing *
|
protected void |
setCommandLine(org.openqa.selenium.os.CommandLine p) |
protected void |
setCustomProfileDir(File value) |
public DisplayAwareFirefoxChromeLauncher(org.openqa.selenium.Capabilities browserOptions,
org.openqa.selenium.server.RemoteControlConfiguration configuration,
String sessionId,
String browserString)
throws org.openqa.selenium.server.browserlaunchers.InvalidBrowserExecutableException
org.openqa.selenium.server.browserlaunchers.InvalidBrowserExecutableExceptionpublic DisplayAwareFirefoxChromeLauncher(org.openqa.selenium.Capabilities browserOptions,
org.openqa.selenium.server.RemoteControlConfiguration configuration,
String sessionId,
org.openqa.selenium.browserlaunchers.locators.BrowserInstallation browserInstallation)
protected void launch(String url)
launch in class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncherprotected org.openqa.selenium.os.CommandLine prepareCommand(String... commands)
protected void createCustomProfileDir()
protected File initProfileTemplate()
protected void extractProfileFromJar()
throws IOException
IOExceptionprotected void copySingleFileWithOverwrite(File sourceFile, File destFile)
protected void copyCert8db(File firefoxProfileTemplate)
protected void generatePacAndPrefJs(String homePage) throws IOException
IOExceptionpublic void close()
protected void removeCustomProfileDir()
throws RuntimeException
RuntimeExceptionprotected void killFirefoxProcess()
throws DisplayAwareFirefoxChromeLauncher.FileLockRemainedException
protected void setCustomProfileDir(File value)
protected void setCommandLine(org.openqa.selenium.os.CommandLine p)
public void launchHTMLSuite(String suiteUrl, String browserURL)
launchHTMLSuite in interface org.openqa.selenium.browserlaunchers.BrowserLauncherlaunchHTMLSuite in class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncherpublic void launchRemoteSession(String browserURL)
launchRemoteSession in interface org.openqa.selenium.browserlaunchers.BrowserLauncherlaunchRemoteSession in class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncherCopyright © 2015 Atlassian. All rights reserved.