Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

API guide

Matt Edelman edited this page Jul 14, 2018 · 12 revisions

nemo.driver

This is an instance of selenium-webdriver.WebDriver.

Thus, you can consult the selenium-webdriver API docs for complete details.

nemo.view

This is the set of convenience methods provided by the nemo-view module.

Generic methods:

Method Arguments Returns Description
_find
_finds
_present
_visible
_wait
_waitVisible
_optionValue
_optionText
_firstVisible

Locator methods

Method Arguments Returns Description
[locatorName]
[locatorName]By or [locatorName].by
[locatorName]Present or [locatorName].present
[locatorName]Wait or [locatorName].wait
[locatorName]WaitVisible or [locatorName].waitVisible
[locatorName]Visible or [locatorName].visible
[locatorName]OptionText or [locatorName].optionText
[locatorName]OptionValue or [locatorName].optionValue
[locatorName]TextEquals or [locatorName].textEquals
[locatorName]AttrEquals or [locatorName].attrEquals

Any method returning a WebElement is returning an instance of selenium-webdriver.WebElement

Clone this wiki locally