Closed kuproydev closed 2 years ago
@kuproydev should be /wd/hub/session/<id>/url
and so on. Session ID is missing.
Yeah, this doesn't work when using selenium grid. when i use selenoid it works fine. Thank you
@kuproydev this is how WebDriver protocol works. So should be the same in Selenoid \ Selenium Grid.
@vania-pooh yes you are right, but when I use selenium grid, session is successfully forwarded, but browser is not launched. is there anything i missed?
this is my configurations selenium command
java -jar selenium-server-4.1.0.jar standalone --port 4445
ggr command
./ggr -verbose
quota
<qa:browsers xmlns:qa="urn:config.gridrouter.qatools.ru">
<browser name="safari" defaultVersion="15.4">
<version number="15.4">
<region name="1">
<host name="localhost" port="4445" count="1"/>
</region>
</version>
</browser>
<browser name="chrome" defaultVersion="100.0">
<version number="100.0">
<region name="1">
<host name="localhost" port="4445" count="1"/>
</region>
</version>
</browser>
</qa:browsers>
curl
curl -H "Content-Type:application/json;charset=utf-8" --data '{"capabilities": {"alwaysMatch": {"browserName": "chrome"}}}' http://admin:admin@localhost:4444/wd/hub/session
@kuproydev they could have changed base URL to just /
, so instead of http://some-host.example.com:4444/wd/hub
in Selenium Grid 4 base URL could be http://some-host.example.com:4444/
.
@vania-pooh Is it like this? they return 404
@kuproydev yes, request is correct. In that case have no idea about the reason.
Hi, i have followed readme and ggr docs but when running the test the results are the same as the picture below. Is there anything I missed?