webdriver_test_tools.testcase.safari module¶
-
class
webdriver_test_tools.testcase.safari.
SafariTestCase
(methodName='runTest')[source]¶ Bases:
webdriver_test_tools.testcase.webdriver.WebDriverTestCase
Implementation of
WebDriverTestCase
using Safari webdriverNote
This driver is platform-specific, so it is disabled by default. It can be enabled in
<test_package>/config/browser.py
by setting the corresponding value inBrowserConfig.ENABLED_BROWSERS
toTrue
.Warning
Safari’s webdriver is missing certain features of the webdriver API, which can cause test failures. As of Safari 11.0.3, issues with the following modules have been encountered during testing:
selenium.webdriver.common.action_chains
selenium.webdriver.support.select
-
DRIVER_NAME
= 'Safari'¶
-
SHORT_NAME
= 'safari'¶
-
CAPABILITIES
= {'browserName': 'safari', 'platform': 'MAC', 'version': ''}¶