Technically, self.click() automatically detects xpath selectors, so self.click_xpath() is just a longer name for the same action.
(self, xpath)
| 7020 | self.execute_script("window.scrollBy(0, %s);" % amount) |
| 7021 | |
| 7022 | def click_xpath(self, xpath): |
| 7023 | """Technically, self.click() automatically detects xpath selectors, |
| 7024 | so self.click_xpath() is just a longer name for the same action.""" |
| 7025 | self.click(xpath, by="xpath") |
| 7026 | |
| 7027 | def js_click( |
| 7028 | self, |