Selenium-Foundation icon indicating copy to clipboard operation
Selenium-Foundation copied to clipboard

Add methods in WebDriverUtils to make interacting with alerts more rational

Open sbabcoc opened this issue 3 years ago • 0 comments

The modeling of alerts in Selenium WebDriver is... odd. Alerts are not search contexts, so it makes no sense that code needs to "switch" to an alert to interact with it. We should add methods in WebDriverUtils to encapsulate the weirdness. User code should never need to deal with driver targeting to interact with alerts.

sbabcoc avatar May 13 '22 18:05 sbabcoc