Uses of Class
com.microsoft.playwright.options.FilePayload
Packages that use FilePayload
Package
Description
-
Uses of FilePayload in com.microsoft.playwright
Methods in com.microsoft.playwright with parameters of type FilePayloadModifier and TypeMethodDescriptiondefault voidFileChooser.setFiles(FilePayload files) Sets the value of the file input this chooser is associated with.default voidFileChooser.setFiles(FilePayload[] files) Sets the value of the file input this chooser is associated with.voidFileChooser.setFiles(FilePayload[] files, FileChooser.SetFilesOptions options) Sets the value of the file input this chooser is associated with.voidFileChooser.setFiles(FilePayload files, FileChooser.SetFilesOptions options) Sets the value of the file input this chooser is associated with.default voidElementHandle.setInputFiles(FilePayload files) Sets the value of the file input to these file paths or files.default voidElementHandle.setInputFiles(FilePayload[] files) Sets the value of the file input to these file paths or files.voidElementHandle.setInputFiles(FilePayload[] files, ElementHandle.SetInputFilesOptions options) Sets the value of the file input to these file paths or files.voidElementHandle.setInputFiles(FilePayload files, ElementHandle.SetInputFilesOptions options) Sets the value of the file input to these file paths or files.default voidFrame.setInputFiles(String selector, FilePayload files) Sets the value of the file input to these file paths or files.default voidFrame.setInputFiles(String selector, FilePayload[] files) Sets the value of the file input to these file paths or files.voidFrame.setInputFiles(String selector, FilePayload[] files, Frame.SetInputFilesOptions options) Sets the value of the file input to these file paths or files.voidFrame.setInputFiles(String selector, FilePayload files, Frame.SetInputFilesOptions options) Sets the value of the file input to these file paths or files.default voidLocator.setInputFiles(FilePayload files) Upload file or multiple files into<input type=file>.default voidLocator.setInputFiles(FilePayload[] files) Upload file or multiple files into<input type=file>.voidLocator.setInputFiles(FilePayload[] files, Locator.SetInputFilesOptions options) Upload file or multiple files into<input type=file>.voidLocator.setInputFiles(FilePayload files, Locator.SetInputFilesOptions options) Upload file or multiple files into<input type=file>.default voidPage.setInputFiles(String selector, FilePayload files) Sets the value of the file input to these file paths or files.default voidPage.setInputFiles(String selector, FilePayload[] files) Sets the value of the file input to these file paths or files.voidPage.setInputFiles(String selector, FilePayload[] files, Page.SetInputFilesOptions options) Sets the value of the file input to these file paths or files.voidPage.setInputFiles(String selector, FilePayload files, Page.SetInputFilesOptions options) Sets the value of the file input to these file paths or files. -
Uses of FilePayload in com.microsoft.playwright.impl
Methods in com.microsoft.playwright.impl that return FilePayloadModifier and TypeMethodDescription(package private) static FilePayloadUtils.toFilePayload(Path file) (package private) static FilePayload[]Utils.toFilePayloads(Path[] files) Methods in com.microsoft.playwright.impl with parameters of type FilePayloadModifier and TypeMethodDescription(package private) static voidUtils.checkFilePayloadSize(FilePayload[] files) FormDataImpl.set(String name, FilePayload value) voidFileChooserImpl.setFiles(FilePayload[] files, FileChooser.SetFilesOptions options) voidFileChooserImpl.setFiles(FilePayload files, FileChooser.SetFilesOptions options) voidElementHandleImpl.setInputFiles(FilePayload[] files, ElementHandle.SetInputFilesOptions options) voidElementHandleImpl.setInputFiles(FilePayload files, ElementHandle.SetInputFilesOptions options) voidFrameImpl.setInputFiles(String selector, FilePayload[] files, Frame.SetInputFilesOptions options) voidFrameImpl.setInputFiles(String selector, FilePayload files, Frame.SetInputFilesOptions options) voidLocatorImpl.setInputFiles(FilePayload[] files, Locator.SetInputFilesOptions options) voidLocatorImpl.setInputFiles(FilePayload files, Locator.SetInputFilesOptions options) voidPageImpl.setInputFiles(String selector, FilePayload[] files, Page.SetInputFilesOptions options) voidPageImpl.setInputFiles(String selector, FilePayload files, Page.SetInputFilesOptions options) (package private) voidElementHandleImpl.setInputFilesImpl(FilePayload[] files, ElementHandle.SetInputFilesOptions options) (package private) voidFrameImpl.setInputFilesImpl(String selector, FilePayload[] files, Frame.SetInputFilesOptions options) (package private) static com.google.gson.JsonArraySerialization.toJsonArray(FilePayload[] files) (package private) static com.google.gson.JsonObjectSerialization.toProtocol(FilePayload p) -
Uses of FilePayload in com.microsoft.playwright.options
Methods in com.microsoft.playwright.options with parameters of type FilePayloadModifier and TypeMethodDescriptionFormData.set(String name, FilePayload value) Sets a field on the form.