A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://seleniumhq.github.io/selenium/docs/api/dotnet/webdriver/OpenQA.Selenium.IAlert.html below:

Interface IAlert

Interface IAlert
Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

Defines the interface through which the user can manipulate JavaScript alerts.

public interface IAlert
Properties Text

Gets the text of the alert.

string? Text { get; }
Property Value
string
Methods Accept()

Accepts the alert.

void Accept()
Dismiss()

Dismisses the alert.

void Dismiss()
SendKeys(string)

Sends keys to the alert.

void SendKeys(string keysToSend)
Parameters
keysToSend string

The keystrokes to send.

Exceptions
ArgumentNullException

If keysToSend is null.

Edit this page

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4