Going deeper into manen
#
manen
is a module to ease the interaction with Selenium. Its features
are splitted into four (almost) independant modules:
resource
: set of helpers to get the drivers needed by Selenium to workfinder
: define a functionfind()
in order to avoid calling the methodsfind_element_by_*
orfind_elements_by_*
of a SeleniumWebElement
browser
: a wrapper aroundWebDriver
to more easily create instance of web drivers. Only compatible with Chrome and Brave (for now).page_object_model
: an implementation of the design pattern Page Object Models in order to easily interact with the DOM of a webpage.
Each module is built to be quite independant from each other. For example, you can
use the module finder
without browser
or
page_object_model
without browser
.
API Documentation#
Explore directly the code to discover all features proposed by manen
.
- manen.cli
cli()
download()
download_workflow()
get_args()
with_browser_parser()
with_driver_download_parser()
with_driver_parser()
- manen.exceptions
DriverNotFound
ElementNotFound
ManenException
PlatformNotRecognized
UnsettableElement
- manen.finder
find()
parse_selector()
- manen.helpers
batch()
extract()
extract_integer()
version()
version_as_str()
- manen.browser
BraveBrowser
BrowserMixin
ChromeBrowser
- manen.page_object_model
Action
CheckboxElement
DOMAccessor
DateTimeElement
DateTimeElements
Element
Elements
Frame
IgnorePageObjectLoader
ImageSourceElement
ImageSourceElements
InnerHtmlElement
InnerHtmlElements
InputElement
IntegerElement
IntegerElements
LinkElement
LinkElements
OuterHtmlElement
OuterHtmlElements
Page
PageObjectLoader
RadioButtonElement
Region
Regions
SelectElement
TextElement
TextElements
WebArea
load_selector_config()
- manen.resource package