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

Method get_by_title

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

Source from the content-addressed store, hash-verified

714 return self.locator(get_by_text_selector(text, exact=exact))
715
716 def get_by_title(
717 self, text: Union[str, Pattern[str]], exact: bool = None
718 ) -> "Locator":
719 return self.locator(get_by_title_selector(text, exact=exact))
720
721 def frame_locator(self, selector: str) -> FrameLocator:
722 return FrameLocator(self, selector)

Callers

nothing calls this directly

Calls 2

locatorMethod · 0.95
get_by_title_selectorFunction · 0.90

Tested by

no test coverage detected