pytoolbox.selenium.test module

class pytoolbox.selenium.test.LiveTestCaseMixin[source]

Bases: object

live_client_class

alias of LiveClient

setUp()[source]

Call super’s setUp and instantiate a live test client, only once.

classmethod tearDownClass()[source]

Quit the live-test client and call super’s tearDownClass.

assertElementEqual(name, value, enabled=True)[source]

Check the properties of an element. Works with both WebElement and Select.

assertElementIsDisabled(name, *args, **kwargs)[source]
assertElementIsEnabled(name, *args, **kwargs)[source]
assertElementIsReadOnly(name)[source]
assertElementValue(name, value, *args, **kwargs)[source]
assertSelectOptions(name, texts, *args, **kwargs)[source]