An NDoc Documented Class Library

ISelenium.AnswerOnNextPrompt Method 

Instructs Selenium to return the specified answer string in response to the next JavaScript prompt [window.prompt()].

void AnswerOnNextPrompt(
   string answer
);

Parameters

answer
the answer to give in response to the prompt pop-up

See Also

ISelenium Interface | Selenium Namespace