Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_link
Function · 0.45
click_link
Function · 0.45
test_demo_site
Method · 0.45
raw_login_sb.py
File · 0.45
test_sb_fixture_with_no_class
Function · 0.45
test_sb_fixture_inside_class
Method · 0.45
test_simple_login
Method · 0.45
raw_login_context.py
File · 0.45
test_xkcd
Method · 0.45
raw_sb.py
File · 0.45
test_demo_site
Method · 0.45
test_mfa_login
Method · 0.45
Calls
2
find_elements_by_text
Method · 0.95
click
Method · 0.45
Tested by
10
test_demo_site
Method · 0.36
test_sb_fixture_with_no_class
Function · 0.36
test_sb_fixture_inside_class
Method · 0.36
test_simple_login
Method · 0.36
test_xkcd
Method · 0.36
test_demo_site
Method · 0.36
test_mfa_login
Method · 0.36
test_usefixtures_on_class
Method · 0.36
test_presentation
Method · 0.36
test_presentation
Method · 0.36