mahler.engines
Submodules
Classes
Playwright implementation of an Element. |
|
Playwright implementation of a Window. |
|
Selenium implementation of an Element. |
|
Selenium implementation of a Window. |
Package Contents
- class mahler.engines.PlaywrightElement(element_handle: playwright.sync_api.ElementHandle, parent: PlaywrightElement | None = None)
Playwright implementation of an Element.
See mahler.protocols.element.Element for API details.
- property parent: PlaywrightElement | None
- query_selector_all(selector: str) list[PlaywrightElement] | None
- query_selector(selector: str) PlaywrightElement | None
- click() None
- content() str
- type_on(text: str, delay: float = 0) None
- class mahler.engines.PlaywrightWindow(model: Literal['chrome', 'firefox'], headless: bool = True, enable_javascript: bool = True, fingerprint: mahler.fingerprint.Fingerprint | None = None)
Playwright implementation of a Window.
See mahler.protocols.window.Window for API details.
- goto(url: str, timeout: float | None = None) None
- query_selector_all(selector: str) list[mahler.engines.playwright_.element.PlaywrightElement] | None
- query_selector(selector: str) mahler.engines.playwright_.element.PlaywrightElement | None
- class mahler.engines.SeleniumElement(web_element: selenium.webdriver.remote.webelement.WebElement, parent: SeleniumElement | None = None)
Selenium implementation of an Element.
See mahler.protocols.element.Element for API details.
- property parent: SeleniumElement | None
- query_selector_all(selector: str) list[SeleniumElement] | None
- query_selector(selector: str) SeleniumElement | None
- click() None
- content() str
- type_on(text: str, delay: float = 0) None
- class mahler.engines.SeleniumWindow(model: Literal['chrome', 'firefox'], headless: bool = True, enable_javascript: bool = True, fingerprint: mahler.fingerprint.Fingerprint | None = None)
Selenium implementation of a Window.
See mahler.protocols.window.Window for API details.
- goto(url: str, timeout: float | None = None) None
- query_selector_all(selector: str) list[mahler.engines.selenium_.element.SeleniumElement] | None
- query_selector(selector: str) mahler.engines.selenium_.element.SeleniumElement | None