Module pom_elements.html
The Python package pom-elements.html module is for interacting with html Elements.
pom-elements.html extends the XPathElement class to improve the pom-elements
experience writing tests for DOM elements. Refer to the Mozilla HTML Elements reference
documentation. https://developer.mozilla.org/en-US/docs/Web/HTML/Element
Expand source code
"""The Python package `pom-elements.html` module is for interacting with html Elements.
`pom-elements.html` extends the XPathElement class to improve the `pom-elements`
experience writing tests for DOM elements. Refer to the Mozilla HTML Elements reference
documentation. https://developer.mozilla.org/en-US/docs/Web/HTML/Element
"""
from .content import H1, H2, H3, H4, H5, H6
from .forms import (
Button,
DataList,
Fieldset,
Form,
Input,
Label,
Legend,
Meter,
OptGroup,
Option,
Select,
TextArea,
)
from .inline_text import (
Cite,
Code,
Highlight,
InlineQuote,
Link,
Span,
Subscript,
Superscript,
)
from .media_and_embedded import Area, Iframe, Img, Picture, Source, Video
from .table_content import (
Caption,
Col,
ColGroup,
Table,
TableData,
TableFooter,
TableHead,
TableHeader,
TableRow,
)
from .text import DD, DT, OL, UL, Div, P, Quote
__all__ = [
"H1",
"H2",
"H3",
"H4",
"H5",
"H6",
"Link",
"P",
"Div",
"Quote",
"DT",
"DD",
"OL",
"UL",
"Link",
"Cite",
"Code",
"Highlight",
"InlineQuote",
"Span",
"Subscript",
"Superscript",
"Area",
"Img",
"Video",
"Iframe",
"Picture",
"Source",
"Caption",
"Col",
"ColGroup",
"Table",
"TableData",
"TableFooter",
"TableHead",
"TableHeader",
"TableRow",
"Button",
"DataList",
"Fieldset",
"Form",
"Input",
"Label",
"Legend",
"Meter",
"OptGroup",
"Option",
"Select",
"TextArea",
]
Sub-modules
pom_elements.html.contentpom_elements.html.formspom_elements.html.inline_textpom_elements.html.media_and_embeddedpom_elements.html.table_contentpom_elements.html.text
Classes
class Area (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) -
Interact with html tags.
Expand source code
class Area(XPathElement): """Interact with <area> html tags.""" tag = "area"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Button (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) -
Interact with
Expand source code
class Button(XPathElement): """Interact with <button> html dom elements.""" tag = "button"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Caption (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) -
Interact with the
html elment. Expand source code
class Caption(XPathElement): """Interact with the <caption> html elment.""" tag = "caption"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Cite (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) -
Interact with tags.
Expand source code
class Cite(XPathElement): """Interact with <cite> tags.""" tag = "cite"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Code (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) -
Interact with
tags.Expand source code
class Code(XPathElement): """Interact with <code> tags.""" tag = "code"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Col (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) -
Interact with the
html elment. Expand source code
class Col(XPathElement): """Interact with the <col> html elment.""" tag = "col"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class ColGroup (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) -
Interact with the
html elment. Expand source code
class ColGroup(XPathElement): """Interact with the <colgroup> html elment.""" tag = "colgroup"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class DD (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) -
Interact with
- tags.
Expand source code
class DD(XPathElement): """Interact with <dd> tags.""" tag = "dd"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class DT (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) -
Interact with
- tags.
Expand source code
class DT(XPathElement): """Interact with <dt> tags.""" tag = "dt"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class DataList (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) -
Interact with
Expand source code
class DataList(XPathElement): """Interact with <datalist> html dom elements.""" tag = "datalist"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Div (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) -
Interact with
tags.Expand source code
class Div(XPathElement): """Interact with <div> tags.""" tag = "div"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Fieldset (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
Expand source code
class Fieldset(XPathElement): """Interact with <fieldset> html dom elements.""" tag = "fieldset"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Form (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
Expand source code
class Form(XPathElement): """Interact with <form> html dom elements.""" tag = "form"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class H1 (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
tags.
Expand source code
class H1(XPathElement): """Interact with <h1> tags.""" tag = "h1"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class H2 (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
tags.
Expand source code
class H2(XPathElement): """Interact with <h2> tags.""" tag = "h2"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class H3 (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
tags.
Expand source code
class H3(XPathElement): """Interact with <h3> tags.""" tag = "h3"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class H4 (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
tags.
Expand source code
class H4(XPathElement): """Interact with <h4> tags.""" tag = "h4"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class H5 (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
tags.
Expand source code
class H5(XPathElement): """Interact with <h5> tags.""" tag = "h5"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class H6 (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
tags.
Expand source code
class H6(XPathElement): """Interact with <h6> tags.""" tag = "h6"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Highlight (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with tags.
Expand source code
class Highlight(XPathElement): """Interact with <mark> tags.""" tag = "mark"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Iframe (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
Expand source code
class Iframe(XPathElement): """Interact with <iframe> html tags.""" tag = "iframe"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Img (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
html tags.
Expand source code
class Img(XPathElement): """Interact with <img> html tags.""" tag = "img"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class InlineQuote (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
tags.
Expand source code
class InlineQuote(XPathElement): """Interact with <q> tags.""" tag = "q"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Input (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with html dom elements.
Expand source code
class Input(XPathElement): """Interact with <input> html dom elements.""" tag = "input"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Label (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
Expand source code
class Label(XPathElement): """Interact with <label> html dom elements.""" tag = "label"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Legend (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
Expand source code
class Legend(XPathElement): """Interact with <legend> html dom elements.""" tag = "legend"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Link (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with tags.
Expand source code
class Link(XPathElement): """Interact with <a> tags.""" tag = "a"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Meter (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
html dom elements. Expand source code
class Meter(XPathElement): """Interact with <meter> html dom elements.""" tag = "meter"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class OL (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
- tags.
Expand source code
class OL(XPathElement): """Interact with <ol> tags.""" tag = "ol"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class OptGroup (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
Expand source code
class OptGroup(XPathElement): """Interact with <optgroup> html dom elements.""" tag = "optgroup"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Option (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
Expand source code
class Option(XPathElement): """Interact with <option> html dom elements.""" tag = "option"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class P (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
tags.
Expand source code
class P(XPathElement): """Interact with <p> tags.""" tag = "p"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Picture (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
html tags. Expand source code
class Picture(XPathElement): """Interact with <picture> html tags.""" tag = "picture"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Quote (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
tags.
Expand source code
class Quote(XPathElement): """Interact with <blockquote> tags.""" tag = "blockquote"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Select (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
Expand source code
class Select(XPathElement): """Interact with <select> html dom elements.""" tag = "select"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Source (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
html tags. Expand source code
class Source(XPathElement): """Interact with <source> html tags.""" tag = "source"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Span (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with tags.
Expand source code
class Span(XPathElement): """Interact with <span> tags.""" tag = "span"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Subscript (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with tags.
Expand source code
class Subscript(XPathElement): """Interact with <sub> tags.""" tag = "sub"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Superscript (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with tags.
Expand source code
class Superscript(XPathElement): """Interact with <sup> tags.""" tag = "sup"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Table (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with the
html elment.
Expand source code
class Table(XPathElement): """Interact with the <table> html elment.""" tag = "table"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class TableData (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with the
html elment. Expand source code
class TableData(XPathElement): """Interact with the <td> html elment.""" tag = "td"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
Interact with the
html elment.Expand source code
class TableFooter(XPathElement): """Interact with the <tfoot> html elment.""" tag = "tfoot"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
-
Inherited from:
XPathElement.get_propertyGet the property of the element …
-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class TableHead (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with the html elment.
Expand source code
class TableHead(XPathElement): """Interact with the <thead> html elment.""" tag = "thead"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class TableHeader (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with the
html elment. Expand source code
class TableHeader(XPathElement): """Interact with the <th> html elment.""" tag = "th"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class TableRow (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with the
html elment. Expand source code
class TableRow(XPathElement): """Interact with the <tr> html elment.""" tag = "tr"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class TextArea (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
Expand source code
class TextArea(XPathElement): """Interact with <textarea> html dom elements.""" tag = "textarea"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class UL (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
- tags.
Expand source code
class UL(XPathElement): """Interact with <ul> tags.""" tag = "ul"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …
class Video (webdriver:= None, timeout: int = 5, xpath: str = '', **kwargs) Interact with
Expand source code
class Video(XPathElement): """Interact with <video> html tags.""" tag = "video"Ancestors
- XPathElement
- BaseElement
- abc.ABC
Class variables
var tag-
Inherited from:
XPathElement.tagtag class attribute is the xpath html tag (i.e. div, span, ul).
Instance variables
var default_timeout-
Inherited from:
XPathElement.default_timeoutGet the default timeout.
var locator : Tuple[selenium.webdriver.common.by.By, str]-
Inherited from:
XPathElement.locatorReturn the Xpath Locator element.
var webdriver :-
Inherited from:
XPathElement.webdriverGet the Element's Selenium webdriver instance …
var xpath : str-
Inherited from:
XPathElement.xpathGet the xpath value as a string.
Methods
def can_be_clicked(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.can_be_clickedReturn true if the webelement can be clicked in the time (seconds) provided …
def click(self, timeout: Union[float, NoneType] = None)-
Inherited from:
XPathElement.clickClick the web element if it is available to be clicked.
def find(self, timeout: Union[float, NoneType] = None) -> selenium.webdriver.remote.webelement.WebElement-
Inherited from:
XPathElement.findReturn the Selenium WebElement in the provided timeout or raise an error …
def get_all_attributes(self) -> dict-
Inherited from:
XPathElement.get_all_attributesReturn a dictionary containing all of the attributes of an element.
def get_attribute(self, name)-
Inherited from:
XPathElement.get_attributeReturns the attribute of the name provided.
def get_property(self, value: str) -> Any-
Inherited from:
XPathElement.get_propertyGet the property of the element …
def is_displayed(self)-
Inherited from:
XPathElement.is_displayedReturns true if the Element is displayed else false.
def is_invisible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_invisibleReturn true if the webelement is invisible on the page within the time (seconds) provided …
def is_visible(self, timeout: Union[int, NoneType] = None) -> bool-
Inherited from:
XPathElement.is_visibleReturn true if the webelement is visible on the page in the time (seconds) provided …