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

Method select_action

tests/async/conftest.py:160–161  ·  view source on GitHub ↗
(self, title: str, ordinal: int = 0)

Source from the content-addressed store, hash-verified

158 )
159
160 async def select_action(self, title: str, ordinal: int = 0) -> None:
161 await self.page.locator(".action-title", has_text=title).nth(ordinal).click()
162
163 async def select_snapshot(self, name: str) -> None:
164 await self.page.click(

Calls 3

clickMethod · 0.45
nthMethod · 0.45
locatorMethod · 0.45

Tested by

no test coverage detected