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

Method set_input_files

playwright/_impl/_page.py:1076–1086  ·  view source on GitHub ↗
(
        self,
        selector: str,
        files: Union[
            str, Path, FilePayload, Sequence[Union[str, Path]], Sequence[FilePayload]
        ],
        timeout: float = None,
        strict: bool = None,
        noWaitAfter: bool = None,
    )

Source from the content-addressed store, hash-verified

1074 return await self._main_frame.input_value(**params)
1075
1076 async def set_input_files(
1077 self,
1078 selector: str,
1079 files: Union[
1080 str, Path, FilePayload, Sequence[Union[str, Path]], Sequence[FilePayload]
1081 ],
1082 timeout: float = None,
1083 strict: bool = None,
1084 noWaitAfter: bool = None,
1085 ) -> None:
1086 return await self._main_frame.set_input_files(**locals_to_params(locals()))
1087
1088 async def type(
1089 self,

Calls 1

locals_to_paramsFunction · 0.90