kense package

Submodules

kense.controls module

kense.controls.selectdropdown(browser, id_, value)[source]

Select option from kendoDropDownList.

Parameters:
  • browser (selenium.webdriver.remote.webdriver.WebDriver) – The Selenium web driver, the target URL must be loaded
  • id_ (str) – The name of the ID of the <select> HTML tag, avoid suffixing it with #.
  • value (str or kense.controls.ANY) – The option to select represented by the user-redeable text on it, use kense.controls.ANY to choose an option at random.
Returns:

The text inside of the HTML tag.

Return type:

str

kense.exceptions module

exception kense.exceptions.OptionNotFound[source]

Bases: Exception

Useful for diplaying exceptions in the context of selectable options from Kendo UI widgets.

Module contents