class FindByAnnotation extends Annotation (View source)

Annotation for describing element selector in Selenium style.

Properties

string $className CSS class name.
string $css CSS selector.
string $id ID attribute.
string $linkText Link text.
string $name NAME attribute.
string $partialLinkText Partial link text.
string $tagName HTML tag name.
string $xpath Xpath.
string $label Label.
string $how How class constant.
string $using Using value.

Methods

array
getSelector()

Returns a selector, created based on annotation parameters.

Details

array getSelector()

Returns a selector, created based on annotation parameters.

Return Value

array

Exceptions

AnnotationException When selector from annotation is incorrectly specified.