Package org.stjs.testing.driver.browser

Source Code of org.stjs.testing.driver.browser.ChromeBrowser

package org.stjs.testing.driver.browser;

import org.junit.runners.model.InitializationError;
import org.openqa.selenium.browserlaunchers.locators.GoogleChromeLocator;
import org.stjs.testing.driver.DriverConfiguration;

public class ChromeBrowser extends LongPollingBrowser {

  public static final String PROP_CHROME_BIN = "chrome.bin";

  public ChromeBrowser(DriverConfiguration config) {
    super(config);
  }

  @Override
  public void doStart() throws InitializationError {
    this.registerWithLongPollingServer();
    this.startProcess(new GoogleChromeLocator(), PROP_CHROME_BIN, getStartPageUrl(getId(), false));
  }
}
TOP

Related Classes of org.stjs.testing.driver.browser.ChromeBrowser

TOP
Copyright © 2018 www.massapi.com. 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.