-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[🚀 Feature]: Add an option to remove "remote-allow-origins" from ChromeOptions #11949
Comments
@gtach2o, 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! |
What error do you get? |
Well, there is no exact error I can share. Adding |
Maybe adding |
@diemol are we setting it based on the condition that system property is not set? |
Actually our tests fail with
And I have just noticed this
Really? What about SPA when click can change DOM without page reload? The xpath is valid.
Why it was released under |
Got it working after adding
I was misled by the lots of important changes made in just a patch release. Thank you everyone! |
|
I'm going to reopen this because I still think we should consider only setting that value if users are using the old http client. |
Makes sense, there is no need to add this option when the Java 11 client is used. |
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. |
Feature and motivation
After this happend
our tests stoped working. We can't update to Selenium 4.8.2 or higher
We awlays use latest chrome driver, current is 112.0.5615.49
JDK native http client
Java 20
and everything was working fine until 4.8.2 released
{args=[--remote-allow-origins=*,
is breaking our automation.How to remove it from default chrome options? We don't need it.
Usage example
removeArguments("--remote-allow-origins=*");
The text was updated successfully, but these errors were encountered: