MCPcopy
hub / github.com/streamlit/streamlit / get_by_test_id

Method get_by_test_id

e2e_playwright/shared/app_target.py:56–57  ·  view source on GitHub ↗
(self, test_id: str)

Source from the content-addressed store, hash-verified

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)
58
59 def get_by_role(self, role: str, **kwargs: Any) -> Locator:
60 # Playwright's `get_by_role` is typed with a Literal union of valid ARIA

Calls

no outgoing calls