'The command to switch to alert does not work in this case

I'm doing an automation and at a certain moment an alert appears, but I can't use the switch.to it, it doesn't find any alert, even in interactive mode.

enter image description here

Does anyone know another tool or know how to get through this alert? He just needs to click on '' Ok '', but confirm doesn't work either



Solution 1:[1]

This is not a web alert but a windows one. You can solve this by automatically tell what certificate to use. This can be done from registries.

https://admx.help/?Category=Chrome&Policy=Google.Policies.Chrome::AutoSelectCertificateForUrls

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 g2gggg