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

Method assert_link

seleniumbase/fixtures/base_case.py:10001–10008  ·  view source on GitHub ↗

Same as self.assert_link_text()

(self, link_text, timeout=None)

Source from the content-addressed store, hash-verified

9999 return self.find_elements(selector, by=by, limit=limit)
10000
10001 def assert_link(self, link_text, timeout=None):
10002 """Same as self.assert_link_text()"""
10003 self.__check_scope()
10004 if not timeout:
10005 timeout = settings.SMALL_TIMEOUT
10006 if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT:
10007 timeout = self.__get_new_timeout(timeout)
10008 self.assert_link_text(link_text, timeout=timeout)
10009
10010 def assert_element_not_present(
10011 self, selector, by="css selector", timeout=None

Callers

nothing calls this directly

Calls 3

__check_scopeMethod · 0.95
__get_new_timeoutMethod · 0.95
assert_link_textMethod · 0.95

Tested by

no test coverage detected