Open HermesNWO opened 8 months ago
@HermesNWO, 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!
Was this working before, or are you trying this for the first time? I believe our BiDi support in Python needs work.
@AutomatedTester do you know if this should be working?
I have also tried with Selenium 4.16.0 and Chromedriver 122 and then updated to see if any chance of work but nothing... And this is the first time I implement BIDI for Target. related, and it doesn't work... For others like Network. it also doesn't work and don't start.
Actually with my different tries, it happen only with this extension : https://chromewebstore.google.com/detail/i-still-dont-care-about-c/edibdbjcniadpccecjdfdjjppcpchdlm, for the others it works.
It seems to be an issue with the extension, as mentioned in the extension reviews.
I will close this as the root cause is outside Selenium.
No this is a real issue, for example it also stop working with this extensions : https://chromewebstore.google.com/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi
Okay I have found the solution : after reading cdps logs, we can see that the initial BiDi session is using the first target found in the list to make a general session. Indeed we don't want to attach to the first but the last element of the list :
Modify async def bidi_connection(self): in webdriver.py and use -1 instead of 0
This issue is looking for contributors.
Please comment below or reach out to us through our IRC/Slack/Matrix channels if you are interested.
@HermesNWO Hi, can the issue still be reproduced, if so can you share the whole code snippet? I believe I am still missing something so I can't reproduce.
What happened?
When starting chromedriver with the load-extension argument, BiDi connection won't makes the Page.* commands available/working.
Below easy step to reproduce
How can we reproduce the issue?
Relevant log output
Operating System
Linux
Selenium version
4.19.0
What are the browser(s) and version(s) where you see this issue?
Chromedriver 123 - 122
What are the browser driver(s) and version(s) where you see this issue?
Chromedriver 123 - 122
Are you using Selenium Grid?
No response