コード例 #1
0
ファイル: test_waiters.py プロジェクト: alex-klimovich/autoui
 def setUp(self):
     get_driver().refresh()
コード例 #2
0
ファイル: test_waiters.py プロジェクト: alex-klimovich/autoui
 def setUpClass(cls):
     super().setUpClass()
     get_driver().get(cls.url)
コード例 #3
0
ファイル: test_waiters.py プロジェクト: alex-klimovich/autoui
 def tearDownClass(cls):
     super(TestWaiters, cls).tearDownClass()
     get_driver().quit()
コード例 #4
0
ファイル: base_page.py プロジェクト: alex-klimovich/autoui
 def get(self, url=None):
     url = self.url or url
     get_driver().get(url)
     return self
コード例 #5
0
ファイル: mixins.py プロジェクト: alex-klimovich/autoui
 def click(self, with_js=False):
     if with_js:
         get_driver().execute_script('return arguments[0].click();', self.web_element)
     else:
         self.web_element.click()
コード例 #6
0
ファイル: mixins.py プロジェクト: alex-klimovich/autoui
 def scroll_to_element(self):
     get_driver().execute_script('return arguments[0].scrollIntoView();', self.web_element)
コード例 #7
0
ファイル: test_table.py プロジェクト: alex-klimovich/autoui
 def tearDownClass(cls):
     super().tearDownClass()
     get_driver().quit()
コード例 #8
0
 def setUpClass(cls):
     super(TestWaiters, cls).setUpClass()
     get_driver().get(cls.url)