MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / click_xpath

Method click_xpath

seleniumbase/fixtures/base_case.py:7022–7025  ·  view source on GitHub ↗

Technically, self.click() automatically detects xpath selectors, so self.click_xpath() is just a longer name for the same action.

(self, xpath)

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 1

clickMethod · 0.95

Tested by

no test coverage detected