(
self,
selector: str,
files: Union[
str, Path, FilePayload, Sequence[Union[str, Path]], Sequence[FilePayload]
],
strict: bool = None,
timeout: float = None,
noWaitAfter: bool = None,
)
| 818 | ) |
| 819 | |
| 820 | async def set_input_files( |
| 821 | self, |
| 822 | selector: str, |
| 823 | files: Union[ |
| 824 | str, Path, FilePayload, Sequence[Union[str, Path]], Sequence[FilePayload] |
| 825 | ], |
| 826 | strict: bool = None, |
| 827 | timeout: float = None, |
| 828 | noWaitAfter: bool = None, |
| 829 | ) -> None: |
| 830 | converted = await convert_input_files(files, self.page.context) |
| 831 | await self._channel.send( |
| 832 | "setInputFiles", |
| 833 | self._timeout, |
| 834 | { |
| 835 | "selector": selector, |
| 836 | "strict": strict, |
| 837 | "timeout": self._timeout(timeout), |
| 838 | **converted, |
| 839 | }, |
| 840 | ) |
| 841 | |
| 842 | async def _drop( |
| 843 | self, |
nothing calls this directly
no test coverage detected