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

Function _get_drop_info

tests/async/test_locators.py:1227–1229  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

1225
1226
1227async def _get_drop_info(page: Page) -> dict:
1228 handle = await page.wait_for_function("() => window.__dropInfo")
1229 return await handle.json_value()
1230
1231
1232async def test_drop_should_drop_a_file_payload(page: Page) -> None:

Calls 2

wait_for_functionMethod · 0.45
json_valueMethod · 0.45

Tested by

no test coverage detected