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

Function click_link

seleniumbase/fixtures/page_actions.py:1788–1795  ·  view source on GitHub ↗
(driver, link_text, timeout=settings.SMALL_TIMEOUT)

Source from the content-addressed store, hash-verified

1786
1787
1788def click_link(driver, link_text, timeout=settings.SMALL_TIMEOUT):
1789 if __is_cdp_swap_needed(driver):
1790 driver.cdp.click_link(link_text)
1791 return
1792 element = wait_for_element_clickable(
1793 driver, link_text, by="link text", timeout=timeout
1794 )
1795 element.click()
1796
1797
1798def click_if_visible(

Callers

nothing calls this directly

Calls 4

__is_cdp_swap_neededFunction · 0.70
click_linkMethod · 0.45
clickMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…