Last active
July 19, 2016 00:04
-
-
Save Vitalik549/fb78f19d7add572cc56a8b76866226c2 to your computer and use it in GitHub Desktop.
Bat files for Selenium Grid Hub+node launch by doubleclick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| title hub | |
| TIMEOUT /T 3 | |
| java -jar %SSS% -role hub | |
| TIMEOUT /T 15 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| title node | |
| TIMEOUT /T 5 | |
| java -Dwebdriver.chrome.driver=%THIS_FOLDER_PATH%/src/%CHROME_DRIVER_FILE_NAME% -jar %SSS% -role webdriver -hub %IP%:%WD_PORT%/grid/register -port %PORT% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SET USER=user | |
| SET WD_PORT=4444 | |
| SET SSS=selenium-server-standalone-2.48.2.jar | |
| SET CHROME_DRIVER_FILE_NAME=chromedriver.exe | |
| SET IP=http://192.168.1.01 | |
| SET PORT=5555 | |
| SET THIS_FOLDER_PATH=C:\Users\%USER%\Desktop\selenium | |
| cd %THIS_FOLDER_PATH%/src | |
| start cmd /k "hub.bat" | |
| call "node.bat" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment