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

Method get_by_label

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

Source from the content-addressed store, hash-verified

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
950 ) -> "Locator":
951 return self._main_frame.get_by_label(text, exact=exact)
952
953 def get_by_placeholder(
954 self, text: Union[str, Pattern[str]], exact: bool = None

Callers 4

test_get_by_escapingFunction · 0.45
test_get_by_labelFunction · 0.45
test_get_by_escapingFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_get_by_escapingFunction · 0.36
test_get_by_labelFunction · 0.36
test_get_by_escapingFunction · 0.36