MCPcopy Create free account
hub / github.com/microsoft/playwright-python / get_by_alt_text

Method get_by_alt_text

playwright/_impl/_page.py:943–946  ·  view source on GitHub ↗
(
        self, text: Union[str, Pattern[str]], exact: bool = None
    )

Source from the content-addressed store, hash-verified

941 )
942
943 def get_by_alt_text(
944 self, text: Union[str, Pattern[str]], exact: bool = None
945 ) -> "Locator":
946 return self._main_frame.get_by_alt_text(text, exact=exact)
947
948 def get_by_label(
949 self, text: Union[str, Pattern[str]], exact: bool = None

Callers 3

test_get_by_escapingFunction · 0.45
test_get_by_alt_textFunction · 0.45
test_get_by_escapingFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_get_by_escapingFunction · 0.36
test_get_by_alt_textFunction · 0.36
test_get_by_escapingFunction · 0.36