MCPcopy Index your code
hub / github.com/microsoft/playwright-python / get_by_label

Method get_by_label

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

Source from the content-addressed store, hash-verified

666 return self.locator(get_by_alt_text_selector(text, exact=exact))
667
668 def get_by_label(
669 self, text: Union[str, Pattern[str]], exact: bool = None
670 ) -> "Locator":
671 return self.locator(get_by_label_selector(text, exact=exact))
672
673 def get_by_placeholder(
674 self, text: Union[str, Pattern[str]], exact: bool = None

Callers

nothing calls this directly

Calls 2

locatorMethod · 0.95
get_by_label_selectorFunction · 0.90

Tested by

no test coverage detected