Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Nearsoft
SeleniumClient
Alert
PHP Class Nearsoft\SeleniumClient\Alert
Mostra file
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