Method | Description | |
---|---|---|
__construct ( $strategy, $selectorValue ) | ||
__toString ( ) | ||
className ( String $selectorValue ) : Nearsoft\SeleniumClient\By | Locate by element's css class name | |
cssSelector ( String $selectorValue ) : Nearsoft\SeleniumClient\By | Locate by element's css selector path | |
getSelectorValue ( ) | ||
getStrategy ( ) | ||
id ( String $selectorValue ) : Nearsoft\SeleniumClient\By | Locate by element's id | |
jsSelector ( string $selectorValue, string $selectorDefinition = '$' ) : Nearsoft\SeleniumClient\By | Locate by JavaScript selector | |
linkText ( String $selectorValue ) : Nearsoft\SeleniumClient\By | Locate by element's link text | |
name ( String $selectorValue ) : Nearsoft\SeleniumClient\By | Locate by element's name | |
partialLinkText ( String $selectorValue ) : Nearsoft\SeleniumClient\By | Locate by part of element's link text | |
tagName ( String $selectorValue ) : Nearsoft\SeleniumClient\By | Locate by element's tag name | |
xPath ( String $selectorValue ) : Nearsoft\SeleniumClient\By | Locate by element's xPath |
public static className ( String $selectorValue ) : Nearsoft\SeleniumClient\By | ||
$selectorValue | String | |
return | Nearsoft\SeleniumClient\By |
public static cssSelector ( String $selectorValue ) : Nearsoft\SeleniumClient\By | ||
$selectorValue | String | |
return | Nearsoft\SeleniumClient\By |
public static id ( String $selectorValue ) : Nearsoft\SeleniumClient\By | ||
$selectorValue | String | |
return | Nearsoft\SeleniumClient\By |
public static jsSelector ( string $selectorValue, string $selectorDefinition = '$' ) : Nearsoft\SeleniumClient\By | ||
$selectorValue | string | |
$selectorDefinition | string | |
return | Nearsoft\SeleniumClient\By |
public static linkText ( String $selectorValue ) : Nearsoft\SeleniumClient\By | ||
$selectorValue | String | |
return | Nearsoft\SeleniumClient\By |
public static name ( String $selectorValue ) : Nearsoft\SeleniumClient\By | ||
$selectorValue | String | |
return | Nearsoft\SeleniumClient\By |
public static partialLinkText ( String $selectorValue ) : Nearsoft\SeleniumClient\By | ||
$selectorValue | String | |
return | Nearsoft\SeleniumClient\By |
public static tagName ( String $selectorValue ) : Nearsoft\SeleniumClient\By | ||
$selectorValue | String | |
return | Nearsoft\SeleniumClient\By |
public static xPath ( String $selectorValue ) : Nearsoft\SeleniumClient\By | ||
$selectorValue | String | |
return | Nearsoft\SeleniumClient\By |