Feature and motivation
After this happend
// Allowing any origin "*" might sound risky but an attacker would need to know
// the port used to start DevTools to establish a connection. Given these sessions
// are relatively short-lived, the risk is reduced. Also, this will be removed when
// we only support Java 11 and above.
addArguments("--remote-allow-origins=*");
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=*");
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=*");