def execute(self, browser: Browser):
     browser.quit()
Beispiel #2
0
 def setUp(self) -> None:
     self.DRIVER_MOCK = Mock(spec_set=selenium.webdriver.Chrome)
     self.sut: Browser = Browser(driver=self.DRIVER_MOCK)
 def execute(self, browser: Browser):
     browser.waitForElement(self.searchConditions, self.maxWait)
 def execute(self, browser: Browser):
     browser.submit(self.searchConditions)
 def execute(self, browser: Browser):
     browser.click(self.searchConditions)
 def execute(self, browser: Browser):
     browser.select(self.searchConditions, self.textToSend)
 def execute(self, browser: Browser):
     browser.loadInitialPage(self.textToSend)