Methods
(static) buttonContains(text)
Selector to find a button containing a provided text
Parameters:
Name | Type | Description |
---|---|---|
text |
(static) classContains(className, text)
Selector to find an element containing a provided CSS class name and having a certain text.
Parameters:
Name | Type | Description |
---|---|---|
className |
||
text |
(static) divContains(text)
Selector to find a div element containing a provided text.
Parameters:
Name | Type | Description |
---|---|---|
text |
(static) labelContains(text)
Selector to find a label element containing a provided text.
Parameters:
Name | Type | Description |
---|---|---|
text |
(static) linkContains(text)
Selector to find a link element containing a provided text.
Parameters:
Name | Type | Description |
---|---|---|
text |
(static) paragraphContains(text)
Selector to find p element containing a provided text.
Parameters:
Name | Type | Description |
---|---|---|
text |
(static) spanContains(text)
Selector to find span element containing a provided text.
Parameters:
Name | Type | Description |
---|---|---|
text |
(static) strongContains(text)
Selector to find strong element containing a provided text.
Parameters:
Name | Type | Description |
---|---|---|
text |
(static) withButtonContains(selector, text)
Selector to find a button containing a provided text inside already found element by an additional selector.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
text |
(static) withClassContains(selector, className, text)
Selector to find an element containing a provided CSS class name and having a certain text inside already found element by an additional selector.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
className |
||
text |
(static) withDivContains(selector, text)
Selector to find a div element containing a provided text inside already found element by an additional selector.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
text |
(static) withLabelContains(selector, text)
Selector to find a label element containing a provided text inside already found element by an additional selector.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
text |
(static) withLinkContains(selector, text)
Selector to find a link element containing a provided text inside already found element by an additional selector.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
text |
(static) withParagraphContains(selector, text)
Selector to find a paragraph element containing a provided text inside already found element by an additional selector.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
text |
(static) withSpanContains(selector, text)
Selector to find a span element containing a provided text inside already found element by an additional selector.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
text |
(static) withStrongContains(selector, text)
Selector to find a strong element containing a provided text inside already found element by an additional selector.
Parameters:
Name | Type | Description |
---|---|---|
selector |
||
text |