(browser)
| 600 | |
| 601 | |
| 602 | def dismiss_this_was_me(browser): |
| 603 | try: |
| 604 | # click on "This was me" button if challenge page was called |
| 605 | this_was_me_button = browser.find_element( |
| 606 | By.XPATH, read_xpath(dismiss_this_was_me.__name__, "this_was_me_button") |
| 607 | ) |
| 608 | (ActionChains(browser).move_to_element(this_was_me_button).click().perform()) |
| 609 | # update server calls |
| 610 | update_activity(browser, state=None) |
| 611 | except NoSuchElementException: |
| 612 | # no verification needed |
| 613 | pass |
| 614 | |
| 615 | |
| 616 | def two_factor_authentication(browser, logger, security_codes): |
no test coverage detected