MCPcopy
hub / github.com/streamlit/streamlit / locator

Method locator

e2e_playwright/shared/app_target.py:53–54  ·  view source on GitHub ↗
(self, selector: str)

Source from the content-addressed store, hash-verified

51 mode: Literal["local", "external_direct", "external_host"]
52
53 def locator(self, selector: str) -> Locator:
54 return self.dom.locator(selector)
55
56 def get_by_test_id(self, test_id: str) -> Locator:
57 return self.dom.get_by_test_id(test_id)

Calls

no outgoing calls