Element
class Element extends AbstractPart implements IElement (View source)
BEM element.
Properties
private string | $_name | Name of the BEM part. | from AbstractPart |
private WebElement | $_wrappedElement | Wrapped element. |
Methods
__construct(string $name, WebElement $wrapped_element)
Specifies wrapped WebElement and element's name.
Expectation
shouldReceive(string $name)
No description
getWrappedElement()
Returns wrapped element.
Details
at line 37
__construct(string $name, WebElement $wrapped_element)
Specifies wrapped WebElement and element's name.
in AbstractPart at line 44
string
getName()
Returns element name.
at line 21
Expectation
shouldReceive(string $name)
at line 49
WebElement
getWrappedElement()
Returns wrapped element.