I am using Webtestit to run a Selenium test. It is working when using a local endpoint but I’m having trouble setting up a Selenium Grid remote endpoint.
I performed these steps:
Started a Selenium server and verified it is running on port 4444
java -D"webdriver.chrome.driver=C:\drivers\chromedriver.exe" -jar .\selenium-server-standalone-3.141.59.
jar -role hub
Added a node
java -D"webdriver.chrome.driver=C:\drivers\chromedriver.exe" -jar .\selenium-server-standalone-3.141.59.jar -role node -hub http://localhost:4444/grid/register -browser “browserName=chrome,version=77,platform=WINDOWS”
Clicked New Endpoint in my Webtestit project
Selected the Remote Endpoint tab
Selected Selenium Grid
Entered http://localhost:4444/wd/hub as the Grid-URL
Clicked Fetch available capabilities
Result is an error message saying nothing more than “Fetching failed.”
I am completely stuck without any meaningful error message. As a side note, I was able to execute a simular Selenium Grid test manually in Netbeans.
Also if you are wondering, I’m just trying to develop a proof of concept to see if Webtestit is a feasable automated testing solution for my team, so at this point I don’t really care that the remote endpoint isn’t truly remote (its simply a selenium grid running locally).