(browser)
| 34 | |
| 35 | |
| 36 | def get_comment_input(browser): |
| 37 | comment_input = browser.find_elements( |
| 38 | By.XPATH, read_xpath(get_comment_input.__name__, "comment_input") |
| 39 | ) |
| 40 | |
| 41 | if len(comment_input) <= 0: |
| 42 | comment_input = browser.find_elements( |
| 43 | By.XPATH, read_xpath(get_comment_input.__name__, "placeholder") |
| 44 | ) |
| 45 | |
| 46 | return comment_input |
| 47 | |
| 48 | |
| 49 | def open_comment_section(browser, logger): |
no test coverage detected