You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatestaticfinalStringEXCEPTION_MESSAGE = " \nDownload the latest release at http://chromedriver.storage.googleapis.com/index.html and place it: \n" +
27
27
"(1) on the classpath of this project; or\n" +
28
28
"(2) on the path specified by the \"" + CHROME_DRIVER_EXECUTABLE_SYSTEM_PROPERTY + "\" system property; or\n" +
29
29
"(3) on a folder in the system's PATH variable; or\n" +
30
30
"(4) wherever and set the path via $.driver().useChrome().withPathToChromeDriverExe(\"other/path/to/chromedriver.exe\").\n" +
31
31
"For more information, see https://github.com/seleniumQuery/seleniumQuery/wiki/seleniumQuery-and-Chrome-Driver";
32
32
33
+
privatestaticfinalStringBAD_PATH_PROVIDED_EXCEPTION_MESSAGE = "The ChromeDriver Server executable file was not found (or is a directory) at \"%s\"." + EXCEPTION_MESSAGE;
34
+
33
35
staticStringCHROMEDRIVER_EXE = "chromedriver.exe"; // package visibility so it can be changed during test
privatestaticfinalStringEXCEPTION_MESSAGE = " \nDownload the latest release at http://selenium-release.storage.googleapis.com/index.html and place it: \n" +
27
29
"(1) on the classpath of this project; or\n" +
28
30
"(2) on the path specified by the \"" + IE_DRIVER_EXECUTABLE_SYSTEM_PROPERTY + "\" system property; or\n" +
29
31
"(3) on a folder in the system's PATH variable; or\n" +
30
32
"(4) wherever and set the path via $.driver().useInternetExplorer().withPathToIEDriverServerExe(\"other/path/to/IEDriverServer.exe\").\n" +
31
33
"For more information, see https://github.com/seleniumQuery/seleniumQuery/wiki/seleniumQuery-and-IE-Driver";
32
34
35
+
privatestaticfinalStringBAD_PATH_PROVIDED_EXCEPTION_MESSAGE = "The IEDriverServer executable file was not found (or is a directory) at \"%s\"." + EXCEPTION_MESSAGE;
36
+
33
37
staticStringIEDRIVERSERVER_EXE = "IEDriverServer.exe"; // package visibility so it can be changed during test
34
38
35
39
privateStringcustomPathToIEDriverServerExe;
@@ -54,46 +58,41 @@ public InternetExplorerDriverBuilder withPathToIEDriverServerExe(String pathToIE
privatestaticfinalStringEXCEPTION_MESSAGE = " \nDownload the latest release at http://phantomjs.org/download.html and place it: \n" +
24
+
"(1) on the classpath of this project; or\n" +
25
+
"(2) on the path specified by the \"" + PHANTOMJS_EXECUTABLE_SYSTEM_PROPERTY + "\" system property; or\n" +
26
+
"(3) on a folder in the system's PATH variable; or\n" +
27
+
"(4) on the path set in the \""+PHANTOMJS_EXECUTABLE_SYSTEM_PROPERTY+"\" capability; or\n" +
28
+
"(5) wherever and set the path via $.driver.usePhantomJS().withPathToPhantomJsExe(\"other/path/to/phantomjs.exe\").\n" +
29
+
"For more information, see https://github.com/seleniumQuery/seleniumQuery/wiki/seleniumQuery-and-PhantomJS-Driver";
30
+
31
+
privatestaticfinalStringBAD_PATH_PROVIDED_EXCEPTION_MESSAGE = "The PhantomJS executable file was not found (or is a directory) at \"%s\"." + EXCEPTION_MESSAGE;
32
+
33
+
staticStringPHANTOMJS_EXE = "phantomjs.exe"; // package visibility so it can be changed during test
34
+
18
35
privateStringcustomPathToPhantomJs;
19
36
20
37
/**
@@ -29,33 +46,29 @@ public PhantomJSDriverBuilder withPathToPhantomJsExe(String pathToPhantomJs) {
0 commit comments