Instructs Selenium to return the specified answer string in response to
the next JavaScript prompt [window.prompt()].
Namespace: SeleniumAssembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
Parameters
- answer
- Type:
System String
the answer to give in response to the prompt pop-up
See Also