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

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

void AnswerOnNextPrompt(
	string answer
)

Parameters

answer
Type: OnlineSystem String
the answer to give in response to the prompt pop-up
See Also