Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Nearsoft
SeleniumClient
Alert
PHP Class Nearsoft\SeleniumClient\Alert
Mostrar archivo
Open project: nearsoft/php-selenium-client
Class Usage Examples
Public Methods
Method
Description
__construct
(
WebDriver
$driver
)
accept
( )
Accepts the alert.
dismiss
( )
Dismisses the alert.
getText
( ) :
String
Gets the text of the alert.
sendKeys
(
String
$string
)
Sends keys to the alert.
Method Details
__construct()
public
method
public
__construct
(
WebDriver
$driver
)
$driver
WebDriver
accept()
public
method
Accepts the alert.
public
accept
( )
dismiss()
public
method
Dismisses the alert.
public
dismiss
( )
getText()
public
method
Gets the text of the alert.
public
getText
( ) :
String
return
String
sendKeys()
public
method
Sends keys to the alert.
public
sendKeys
(
String
$string
)
$string
String