Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | List of all members
playwright.async_api._generated.FileChooser Class Reference
Inheritance diagram for playwright.async_api._generated.FileChooser:
Inheritance graph
[legend]
Collaboration diagram for playwright.async_api._generated.FileChooser:
Collaboration graph
[legend]

Public Member Functions

"Page" page (self)
 
"ElementHandle" element (self)
 
bool is_multiple (self)
 
None set_files (self, typing.Union[str, pathlib.Path, FilePayload, typing.Sequence[typing.Union[str, pathlib.Path]], typing.Sequence[FilePayload],] files, *typing.Optional[float] timeout=None, typing.Optional[bool] no_wait_after=None)
 
- Public Member Functions inherited from playwright._impl._async_base.AsyncBase
None __init__ (self, Any impl_obj)
 
str __str__ (self)
 
None on (self, Any event, Any f)
 
None once (self, Any event, Any f)
 
None remove_listener (self, Any event, Any f)
 
- Public Member Functions inherited from playwright._impl._impl_to_api_mapping.ImplWrapper
str __repr__ (self)
 

Additional Inherited Members

- Protected Member Functions inherited from playwright._impl._async_base.AsyncBase
Callable[..., None] _wrap_handler (self, Union[Callable[..., Any], Any] handler)
 
- Protected Attributes inherited from playwright._impl._async_base.AsyncBase
 _loop
 
- Protected Attributes inherited from playwright._impl._impl_to_api_mapping.ImplWrapper
 _impl_obj
 

Member Function Documentation

◆ element()

"ElementHandle" playwright.async_api._generated.FileChooser.element (   self)
FileChooser.element

Returns input element associated with this file chooser.

Returns
-------
ElementHandle

◆ is_multiple()

bool playwright.async_api._generated.FileChooser.is_multiple (   self)
FileChooser.is_multiple

Returns whether this file chooser accepts multiple files.

Returns
-------
bool

◆ page()

"Page" playwright.async_api._generated.FileChooser.page (   self)
FileChooser.page

Returns page this file chooser belongs to.

Returns
-------
Page

◆ set_files()

None playwright.async_api._generated.FileChooser.set_files (   self,
typing.Union[ str, pathlib.Path, FilePayload, typing.Sequence[typing.Union[str, pathlib.Path]], typing.Sequence[FilePayload], ]  files,
*typing.Optional[float]   timeout = None,
typing.Optional[bool]   no_wait_after = None 
)
FileChooser.set_files

Sets the value of the file input this chooser is associated with. If some of the `filePaths` are relative paths,
then they are resolved relative to the current working directory. For empty array, clears the selected files.

Parameters
----------
files : Union[Sequence[Union[pathlib.Path, str]], Sequence[{name: str, mimeType: str, buffer: bytes}], pathlib.Path, str, {name: str, mimeType: str, buffer: bytes}]
timeout : Union[float, None]
    Maximum time in milliseconds. Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The default value can
    be changed by using the `browser_context.set_default_timeout()` or `page.set_default_timeout()` methods.
no_wait_after : Union[bool, None]
    This option has no effect.
    Deprecated: This option has no effect.

The documentation for this class was generated from the following file: