Created
August 31, 2017 20:45
-
-
Save pascencio/c5be29938c687cb61729599b0ae9ca7c to your computer and use it in GitHub Desktop.
Configuración de un nodo de Selenium con archivo json
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
{ | |
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy", | |
"host": "<ip-del-nodo>", | |
"port": <puerto-del-nodo>, | |
"register": true, | |
"hub": "http://<ip-del-hub>:<puerto-del-hub>" | |
} |
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
@echo off | |
set WEBDRIVER_HOME="c:\ruta\de\tu\webdriver" | |
set PATH=%WEBDRIVER_HOME%;%PATH% | |
java -jar selenium-server-standalone-3.4.0.jar -role node -nodeConfig nodeconfig.json | |
@echo on |
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
export WEBDRIVER_HOME="/ruta/de/tu/webdriver" | |
export PATH="$WEBDRIVER_HOME:$PATH" | |
java -jar selenium-server-standalone-3.4.0.jar -role node -nodeConfig nodeconfig.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment