Beispiel #1
0
 def setUp(self):
     options = webdriver.FirefoxOptions()
     profile = webdriver.FirefoxProfile()
     profile.set_preference('webdriver.log.file', '<somewhere>/webdriver.log')
     self.driver = webdriver.Firefox(profile, firefox_options=options)
     self.driver.implicitly_wait(3.5)
     self.wnd_mng = selenium_taurus_extras.WindowManager(self.driver)
     self.frm_mng = selenium_taurus_extras.FrameManager(self.driver)
Beispiel #2
0
 def setUp(self):
     options = webdriver.ChromeOptions()
     self.driver = webdriver.Chrome(
         service_log_path=
         '/Users/luis/Documents/Abstracta/GitHub/examples/taurus/selenium/edit-content/2018-07-02_17-20-04.610536/webdriver.log',
         chrome_options=options)
     self.driver.implicitly_wait(60.0)
     self.wnd_mng = selenium_taurus_extras.WindowManager(self.driver)
     self.frm_mng = selenium_taurus_extras.FrameManager(self.driver)
 def setUp(self):
     self.driver = webdriver.Remote(
         command_executor='http://localhost:4723/wd/hub',
         desired_capabilities={
             "browserName": "Chrome",
             "deviceName": "",
             "platformName": "Android"
         })
     self.driver.implicitly_wait(3.5)
     self.wnd_mng = selenium_taurus_extras.WindowManager(self.driver)
Beispiel #4
0
 def setUp(self):
     self.driver = webdriver.Remote(
         command_executor=
         'http://*****:*****@remote_web_driver_host:port/wd/hub',
         desired_capabilities={
             "app": "",
             "browserName": "firefox",
             "deviceName": "",
             "javascriptEnabled": "True",
             "platformName": "linux",
             "platformVersion": "",
             "seleniumVersion": "",
             "version": "54.0"
         })
     self.driver.implicitly_wait(3.5)
     self.wnd_mng = selenium_taurus_extras.WindowManager(self.driver)