Element.get_files#
- Element.get_files(with_content=False)[source]#
Gets uploaded files from element.
This method is useful when uploading files using
<input type="file">element.- Parameters:
with_content (bool, default=False) – If
True, the contents of the files will be included in the output.- Returns:
A list of File objects.
- Return type:
list(File)
See also