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

Method click_link

seleniumbase/core/sb_cdp.py:509–510  ·  view source on GitHub ↗
(self, link_text)

Source from the content-addressed store, hash-verified

507 element.click()
508
509 def click_link(self, link_text):
510 self.find_elements_by_text(link_text, "a")[0].click()
511
512 def go_back(self):
513 self.loop.run_until_complete(self.page.back())

Callers 15

click_linkFunction · 0.45
click_linkFunction · 0.45
test_demo_siteMethod · 0.45
raw_login_sb.pyFile · 0.45
test_simple_loginMethod · 0.45
test_xkcdMethod · 0.45
raw_sb.pyFile · 0.45
test_demo_siteMethod · 0.45
test_mfa_loginMethod · 0.45

Calls 2

find_elements_by_textMethod · 0.95
clickMethod · 0.45

Tested by 10

test_demo_siteMethod · 0.36
test_simple_loginMethod · 0.36
test_xkcdMethod · 0.36
test_demo_siteMethod · 0.36
test_mfa_loginMethod · 0.36
test_presentationMethod · 0.36
test_presentationMethod · 0.36