PHP 클래스 Nearsoft\SeleniumClient\By

파일 보기 프로젝트 열기: nearsoft/php-selenium-client 1 사용 예제들

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

public __construct ( $strategy, $selectorValue )

__toString() 공개 메소드

public __toString ( )

className() 공개 정적인 메소드

Locate by element's css class name
public static className ( String $selectorValue ) : Nearsoft\SeleniumClient\By
$selectorValue String
리턴 Nearsoft\SeleniumClient\By

cssSelector() 공개 정적인 메소드

Locate by element's css selector path
public static cssSelector ( String $selectorValue ) : Nearsoft\SeleniumClient\By
$selectorValue String
리턴 Nearsoft\SeleniumClient\By

getSelectorValue() 공개 메소드

public getSelectorValue ( )

getStrategy() 공개 메소드

public getStrategy ( )

id() 공개 정적인 메소드

Locate by element's id
public static id ( String $selectorValue ) : Nearsoft\SeleniumClient\By
$selectorValue String
리턴 Nearsoft\SeleniumClient\By

jsSelector() 공개 정적인 메소드

Locate by JavaScript selector
public static jsSelector ( string $selectorValue, string $selectorDefinition = '$' ) : Nearsoft\SeleniumClient\By
$selectorValue string
$selectorDefinition string
리턴 Nearsoft\SeleniumClient\By

linkText() 공개 정적인 메소드

Locate by element's link text
public static linkText ( String $selectorValue ) : Nearsoft\SeleniumClient\By
$selectorValue String
리턴 Nearsoft\SeleniumClient\By

name() 공개 정적인 메소드

Locate by element's name
public static name ( String $selectorValue ) : Nearsoft\SeleniumClient\By
$selectorValue String
리턴 Nearsoft\SeleniumClient\By

partialLinkText() 공개 정적인 메소드

Locate by part of element's link text
public static partialLinkText ( String $selectorValue ) : Nearsoft\SeleniumClient\By
$selectorValue String
리턴 Nearsoft\SeleniumClient\By

tagName() 공개 정적인 메소드

Locate by element's tag name
public static tagName ( String $selectorValue ) : Nearsoft\SeleniumClient\By
$selectorValue String
리턴 Nearsoft\SeleniumClient\By

xPath() 공개 정적인 메소드

Locate by element's xPath
public static xPath ( String $selectorValue ) : Nearsoft\SeleniumClient\By
$selectorValue String
리턴 Nearsoft\SeleniumClient\By