Click on the close button spec. in the 'Likes' dialog box
(browser)
| 2365 | |
| 2366 | |
| 2367 | def close_dialog_box(browser): |
| 2368 | """Click on the close button spec. in the 'Likes' dialog box""" |
| 2369 | |
| 2370 | try: |
| 2371 | close = browser.find_element( |
| 2372 | By.XPATH, read_xpath("class_selectors", "likes_dialog_close_xpath") |
| 2373 | ) |
| 2374 | |
| 2375 | click_element(browser, close) |
| 2376 | |
| 2377 | except NoSuchElementException: |
| 2378 | pass |
| 2379 | |
| 2380 | |
| 2381 | def parse_cli_args(): |
no test coverage detected