An NDoc Documented Class Library |

# DefaultSelenium.AnswerOnNextPrompt Method

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

public void AnswerOnNextPrompt(
string answer
);

#### Parameters

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

#### Implements

ISelenium.AnswerOnNextPrompt

#### See Also

DefaultSelenium Class | Selenium Namespace