(self)
| 100 | return options |
| 101 | |
| 102 | def create_webdriver(self): |
| 103 | options = self.create_options() |
| 104 | if self.selenium_hub: |
| 105 | from selenium import webdriver |
| 106 | |
| 107 | for key, value in self.get_capability(self.browser).items(): |
| 108 | options.set_capability(key, value) |
| 109 | |
| 110 | return webdriver.Remote(command_executor=self.selenium_hub, options=options) |
| 111 | return self.import_webdriver(self.browser)(options=options) |
| 112 | |
| 113 | |
| 114 | class ChangeWindowSize: |
no test coverage detected