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

Method get_by_label

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

Source from the content-addressed store, hash-verified

823 return self.locator(get_by_alt_text_selector(text, exact=exact))
824
825 def get_by_label(
826 self, text: Union[str, Pattern[str]], exact: bool = None
827 ) -> "Locator":
828 return self.locator(get_by_label_selector(text, exact=exact))
829
830 def get_by_placeholder(
831 self, text: Union[str, Pattern[str]], exact: bool = None

Callers

nothing calls this directly

Calls 2

locatorMethod · 0.95
get_by_label_selectorFunction · 0.85

Tested by

no test coverage detected