Package org.openqa.selenium.server.browserlaunchers.locators

Examples of org.openqa.selenium.server.browserlaunchers.locators.Firefox2Locator


public class Firefox2Launcher extends FirefoxChromeLauncher {

    public Firefox2Launcher(BrowserConfigurationOptions browserOptions, RemoteControlConfiguration configuration, String sessionId, String browserLaunchLocation) {
        super(browserOptions, configuration,
                sessionId, ApplicationRegistry.instance().browserInstallationCache().locateBrowserInstallation(
                        "firefox2", browserLaunchLocation, new Firefox2Locator()));       
    }
View Full Code Here


        String browserName = "firefox";
        BrowserLocator locator = new Firefox2or3Locator();
        String version = browserOptions.get("version");
        if ("2".equals(version)) {
            browserName = "firefox2";
            locator = new Firefox2Locator();
        }
        if ("3".equals(version)) {
            browserName = "firefox3";
            locator = new Firefox3Locator();
        }
View Full Code Here

    }

    public Firefox2Launcher(RemoteControlConfiguration configuration, String sessionId, String browserLaunchLocation) {
        super(configuration, sessionId,
                ApplicationRegistry.instance().browserInstallationCache().locateBrowserInstallation(
                        "firefox2", browserLaunchLocation, new Firefox2Locator()));       
    }
View Full Code Here

TOP

Related Classes of org.openqa.selenium.server.browserlaunchers.locators.Firefox2Locator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.