webdriver_test_tools.testcase.browsers module¶
Browser implementations of WebDriverTestCase
.
This module imports the following classes:
webdriver_test_tools.testcase.chrome.ChromeTestCase
webdriver_test_tools.testcase.chrome.ChromeMobileTestCase
webdriver_test_tools.testcase.firefox.FirefoxTestCase
webdriver_test_tools.testcase.edge.EdgeTestCase
webdriver_test_tools.testcase.ie.IETestCase
webdriver_test_tools.testcase.safari.SafariTestCase
-
class
webdriver_test_tools.testcase.browsers.
Browsers
[source]¶ Bases:
object
Constants for browser short names
-
FIREFOX
= 'firefox'¶
-
CHROME
= 'chrome'¶
-
SAFARI
= 'safari'¶
-
IE
= 'ie'¶
-
EDGE
= 'edge'¶
-
CHROME_MOBILE
= 'chrome-mobile'¶
-
TEST_CLASSES
= {'chrome': <class 'webdriver_test_tools.testcase.chrome.ChromeTestCase'>, 'chrome-mobile': <class 'webdriver_test_tools.testcase.chrome.ChromeMobileTestCase'>, 'edge': <class 'webdriver_test_tools.testcase.edge.EdgeTestCase'>, 'firefox': <class 'webdriver_test_tools.testcase.firefox.FirefoxTestCase'>, 'ie': <class 'webdriver_test_tools.testcase.ie.IETestCase'>, 'safari': <class 'webdriver_test_tools.testcase.safari.SafariTestCase'>}¶ Dictionary mapping browser names to their corresponding test classes
-
HEADLESS_COMPATIBLE
= [<class 'webdriver_test_tools.testcase.firefox.FirefoxTestCase'>, <class 'webdriver_test_tools.testcase.chrome.ChromeTestCase'>, <class 'webdriver_test_tools.testcase.chrome.ChromeMobileTestCase'>]¶ List of
WebDriverTestCase
subclasses that support test execution in a headless browser
-