(self, xpath)
| 331 | self.driver.find_element_by_xpath(xpath).click() |
| 332 | |
| 333 | def xpath_getText(self, xpath): |
| 334 | self.condition = EC.visibility_of_element_located( |
| 335 | (By.XPATH, xpath)) |
| 336 | WebDriverWait(driver=self.driver, timeout=15, |
| 337 | poll_frequency=1).until(self.condition) |
| 338 | return self.driver.find_element_by_xpath(xpath).text |
| 339 | |
| 340 | def check_delay(self): |
| 341 | delay_time = random.randint(2, 5) |
no outgoing calls
no test coverage detected