File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11[ ![ Build Status] ( https://travis-ci.org/ITArray/automotion-java.svg?branch=master )] ( https://travis-ci.org/ITArray/automotion-java )
22
3+ [ ![ Maven Central] ( https://img.shields.io/maven-central/v/net.itarray/automotion.svg?label=Maven%20Central )] ( http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22net.itarray%22%20AND%20a%3A%22automotion%22 )
4+
35# Automotion #
46![ alt tag] ( https://www.itarray.net/wp-content/uploads/2016/12/Automotion-2.jpg )
57
Original file line number Diff line number Diff line change @@ -56,10 +56,11 @@ private static void time(String msg) {
5656 @ Before
5757 public void setUp () {
5858 Map <String , String > sysProp = new HashMap <>();
59- //sysProp.put("BROWSER", "Chrome");
60- //sysProp.put("IS_LOCAL", "true");
61- sysProp .put ("IS_HEADLESS" , "true" );
62- sysProp .put (PhantomJSDriverService .PHANTOMJS_EXECUTABLE_PATH_PROPERTY , "/Users/" + System .getProperty ("user.name" ) + "/Downloads/phantomjs-2.1.1-macosx/bin/phantomjs" );
59+ sysProp .put ("BROWSER" , "Chrome" );
60+ sysProp .put ("IS_LOCAL" , "true" );
61+ //sysProp.put("IS_HEADLESS", "true");
62+ //sysProp.put(PhantomJSDriverService.PHANTOMJS_EXECUTABLE_PATH_PROPERTY, "/Users/" + System.getProperty("user.name") + "/Downloads/phantomjs-2.1.1-macosx/bin/phantomjs");
63+ sysProp .put ("webdriver.chrome.driver" , "/Users/" + System .getProperty ("user.name" ) + "/Downloads/chromedriver" );
6364 EnvironmentHelper .setEnv (sysProp );
6465 WebDriverFactory driverFactory = new WebDriverFactory ();
6566 driver = driverFactory .getDriver ();
You can’t perform that action at this time.
0 commit comments