webdriver_test_tools.testcase.safari module¶
-
class
webdriver_test_tools.testcase.safari.SafariTestCase(methodName='runTest')[source]¶ Bases:
webdriver_test_tools.testcase.webdriver.WebDriverTestCaseImplementation of
WebDriverTestCaseusing Safari webdriverNote
This driver is platform-specific, so it is disabled by default. It can be enabled in
<test_package>/config/browser.pyby setting the corresponding value inBrowserConfig.ENABLED_BROWSERStoTrue.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_chainsselenium.webdriver.support.select
-
DRIVER_NAME= 'Safari'¶
-
SHORT_NAME= 'safari'¶
-
CAPABILITIES= {'browserName': 'safari', 'platform': 'MAC', 'version': ''}¶