Closed jaca786 closed 1 year ago
@jaca786, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
Geckodriver also expects to see "moz:debuggerAddress", true
. If you create an instance of FirefoxDriver
it is set for you.
Also, it is recommended not to use driver.close()
unless you are trying to close a single window, not end the session.
@titusfortner Thanks for looking into it. I have tried after adding the moz:debuggerAddress in my capabilites, still facing issue. Please find below logs
Jan 13, 2023 4:59:46 PM org.openqa.selenium.devtools.DevTools lambda$createSession$0 SEVERE: {"id":4,"error":{"message":"Log.clear","data":"RemoteAgentError@chrome://remote/content/cdp/Error.sys.mjs:20:5\nUnknownMethodError@chrome://remote/content/cdp/Error.sys.mjs:103:7\nexecute@chrome://remote/content/cdp/domains/DomainCache.sys.mjs:92:13\nreceiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.sys.mjs:79:45\n"},"sessionId":"a94f8697-fc11-4d28-8754-b0895c3e6d33"} Build info: version: '4.7.2', revision: '4d4020c3b7' System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '15.0.2' Driver info: driver.version: unknown org.openqa.selenium.WebDriverException: {"id":4,"error":{"message":"Log.clear","data":"RemoteAgentError@chrome://remote/content/cdp/Error.sys.mjs:20:5\nUnknownMethodError@chrome://remote/content/cdp/Error.sys.mjs:103:7\nexecute@chrome://remote/content/cdp/domains/DomainCache.sys.mjs:92:13\nreceiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.sys.mjs:79:45\n"},"sessionId":"a94f8697-fc11-4d28-8754-b0895c3e6d33"} Build info: version: '4.7.2', revision: '4d4020c3b7' System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '15.0.2' Driver info: driver.version: unknown
That is a duplicate of #10297
Firefox does not support Browser.setWindowBounds()
@titusfortner Thanks for the revert . I have tried with docker compose and it worked for chrome and firefox as well (for some sites.) But When i am trying the same by deploying it in kubernetes cluster , it is throwing error. Will cdp work inside kubernetes cluster as well?
https://github.com/kubernetes/examples/tree/master/staging/selenium I have used this yaml files while deploying inside kubernetes cluster and used the selenium-hub version as 4.7.2.
Please note:- I have tried with Deploying in kubernetes with helm chart as well as per below documentation. https://github.com/SeleniumHQ/docker-selenium/blob/trunk/charts/selenium-grid/README.md
Can you please check and let me know whether the CDP thing will work inside kubernetes cluster as well?
It should work as well. The right place to ask questions is https://www.selenium.dev/support/#ChatRoom
What happened?
My objective is: to intract with Devtool API on Docker Selenium Grid
1) When running the script on Local system browser , My Approach is working fine 2) But when trying to execute my script on Remote, it is throwing below exception
Exception in thread "main" org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:4444/session/fc81683b-4a2c-405c-aa61-d17afa3ae011/se/cdp
Process finished with exit code 1
How can we reproduce the issue?
Relevant log output
Operating System
macos monterey
Selenium version
4.7.1
What are the browser(s) and version(s) where you see this issue?
Chrome-108 , Firebox-108
What are the browser driver(s) and version(s) where you see this issue?
Using SeleniumManager
Are you using Selenium Grid?
4.7.0