摘要:
self.driver.find_element(*RegisterAccount.service).click()self.driver.find_element(*RegisterAccount.service).send_keys(Keys.DOWN)self.driver.find_elem 阅读全文
posted @ 2021-05-07 21:46
zennpumpkin
阅读(93)
评论(0)
推荐(0)
摘要:
framework: https://github.com/startrug/selenium-python-framework useful website: https://stackoverflow.com/ automation: https://www.cnblogs.com/fnng/p 阅读全文
posted @ 2021-05-07 21:08
zennpumpkin
阅读(38)
评论(0)
推荐(0)
摘要:
Select提供了三种选择方法: select_by_index(index) ——通过选项的顺序,第一个为 0 select_by_value(value) ——通过value属性 select_by_visible_text(text) ——通过选项可见文本 同时,Select提供了四种方法取消 阅读全文
posted @ 2021-05-07 20:57
zennpumpkin
阅读(54)
评论(0)
推荐(0)
摘要:
WebDriverWait(self.driver, 1000000).until( EC.element_to_be_clickable((By.XPATH, "//button[contains(text(),'OK')]"))).click() 阅读全文
posted @ 2021-05-07 20:54
zennpumpkin
阅读(52)
评论(1)
推荐(0)
摘要:
try: self.driver.find_element(*LogInLocators.submit_btn).send_keys(Keys.ENTER)except StaleElementReferenceException as msg: print("unable to locate el 阅读全文
posted @ 2021-05-07 20:53
zennpumpkin
阅读(65)
评论(0)
推荐(0)


浙公网安备 33010602011771号