MCPcopy Create free account
hub / github.com/microsoft/playwright-python / set_files

Method set_files

playwright/_impl/_file_chooser.py:49–57  ·  view source on GitHub ↗
(
        self,
        files: Union[
            str, Path, FilePayload, Sequence[Union[str, Path]], Sequence[FilePayload]
        ],
        timeout: float = None,
        noWaitAfter: bool = None,
    )

Source from the content-addressed store, hash-verified

47 return self._is_multiple
48
49 async def set_files(
50 self,
51 files: Union[
52 str, Path, FilePayload, Sequence[Union[str, Path]], Sequence[FilePayload]
53 ],
54 timeout: float = None,
55 noWaitAfter: bool = None,
56 ) -> None:
57 await self._element_handle.set_input_files(files, timeout, noWaitAfter)

Callers

nothing calls this directly

Calls 1

set_input_filesMethod · 0.45

Tested by

no test coverage detected