This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Description
Since chromedriver 2.25, there's been an issue (chromedriver issue #1500) that randomly makes alert commands fail with the message {"code":-32603,"message":"Could not handle JavaScript dialog"}.
In 2.26, they added a single retry when handling JavaScript dialog which reduces the frequency of the problem, though it still occurs. Until they fix it properly, we might want to consider adding some kind of retry for alert commands to Protractor, to help shield people from this issue.