-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐛 Bug]: DevToolsActivePort file doesn't exist #2164
Comments
@elnath78, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
Following SeleniumHQ/selenium#10448. It looks like due to |
This was a leftover from edit: I noticed that |
So how about the version of binding? is it still 4.2.x or upgraded 4.18.x same as server side? |
All updated, I also tried running this |
@diemol, do you know about this? |
Most of the time, when this happens, it is something related to the host. It is not clear if you are using Ubuntu or Windows. Can you share the Grid logs so we can see the capabilities being sent? |
@diemol this is the grid starting, I added the
This is the request, I used the example found here
|
A few questions:
|
Testin on Windows with XAMPP
Did not try, I'm using php option to simplify communication with other app parts that are also in php
|
Can you try it on any other host and with one of the Selenium bindings? Regarding the curl command, is the Grid running on |
Not at this time.
|
What does that docker-compose file mean? I failed to understand your answers. I am not sure why the curl command is failing, but perhaps you can use an API client to send this payload: curl --request POST \
--url http://localhost:4444/session \
--header 'Content-Type: application/json; charset=utf-8' \
--data '{
"capabilities": {
"alwaysMatch": {
"browserName": "chrome"
},
"firstMatch": [{}]
}
}' This is what I use: https://insomnia.rest/download |
Showing it was running on localhost:4444
This is the answer:
|
That means the issue is not on the PHP code. I think now it has to be something related to your host. Whenever you can, please try in a different one and let us know. |
I can on another machine but still with php, this was the answer from Cloudflare, the VPS with selenium is not under cloudflare:
This was the grid output:
|
It seems it is a different error. You can try GitPod: https://github.com/SeleniumHQ/docker-selenium?tab=readme-ov-file#try-them-out-in-a-ready-to-use-gitpod-environment |
I run
|
It means it worked. |
Did it? I still got an error |
But that is a different error. I believe your issue was about starting the session, which you were able to do. Those errors are related to handling the state of the element you find through the code. You can read about Grid roles https://www.selenium.dev/documentation/grid/getting_started/ |
Fixed that, what is the difference between running |
It is easier if you read that in our docs: https://www.selenium.dev/documentation/grid/getting_started/#grid-roles |
I believe the issue is solved |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What happened?
Connecting to a selenium+docker version 4.18.1-20240224 I updated my sample code to reflect capabilities, but I still get the above error when trying to connect to a website.
Relevant log output
Operating System
Ubuntu
Docker Selenium version (image tag)
4.18.1-20240224
Selenium Grid chart version (chart version)
unknow?
The text was updated successfully, but these errors were encountered: