Run selenium node using batch file in windows -
i trying run selenium node batch file, there no errors not work @ all, here code:
note: batch file gets ip address argument
cd c:\ cls set s1=http:// set s2=%1 set s3=:1111/grid/register set ip_adress = %s1%%s2%%s3% echo %ip_adress% pause java -jar c:\selenium_standalone\selenium-server.jar -role node -hub %ip_adress%
remove spaces before , after =
set ip_adress = %s1%%s2%%s3%
, , work.
set ip_adress=%s1%%s2%%s3%
Comments
Post a Comment