You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While executing UI tests in karate-chrome docker container, I see that chrome instance opening with default pop-up blocker feature hence scripts containing the switchPage step are failing eventually. I validated this behavior in my local which is working fine. When I looked at the DockerTarget class, there is no option to suppress the pop-up blockers similar to the chrome driver implementation.
I tried adding "--disable-popup-blocking" to the driverTarget configuration, but the issue is still happening. Below is the complete driver configuration used for docker container. * configure driverTarget = { docker: 'ptrthomas/karate-chrome', showDriverLog: true, addOptions:["--disable-popup-blocking", "--disable-extensions"]}
Any help to fix this issue or a possible workaround is greatly appreciated.
yes ideally there should be a way to customize the docker chrome start script to add custom options. anyone is welcome to contribute a PR or an approach
While executing UI tests in karate-chrome docker container, I see that chrome instance opening with default pop-up blocker feature hence scripts containing the switchPage step are failing eventually. I validated this behavior in my local which is working fine. When I looked at the DockerTarget class, there is no option to suppress the pop-up blockers similar to the chrome driver implementation.
I tried adding "--disable-popup-blocking" to the driverTarget configuration, but the issue is still happening. Below is the complete driver configuration used for docker container.
* configure driverTarget = { docker: 'ptrthomas/karate-chrome', showDriverLog: true, addOptions:["--disable-popup-blocking", "--disable-extensions"]}
Any help to fix this issue or a possible workaround is greatly appreciated.
The sample project with this issue can be accessed here https://github.com/talk2sreenu/karateChromeSwitchPage.git
Maven goal to execute the scripts :
mvn clean test
Thanks in advance.
The text was updated successfully, but these errors were encountered: