Hey stackoverflow Community,
I have a problem. I have to test an Website with Selenium, but before the site is loaded an alert box appears. My code stops where my webdriver gets the url
public static void GoTo(string url){
webDriver.Url = baseUrl + url;
}
The code stops in webDriver.Url = baseUrl + url;
and is waiting for the input in the alertbox. I can't use the SendKeys()
Function, because the code stops there and is waiting.
How can I fix this problem?
Greetings Nikolas