Package com.microsoft.playwright
Class FileChooser.SetFilesOptions
- java.lang.Object
-
- com.microsoft.playwright.FileChooser.SetFilesOptions
-
- Enclosing interface:
- FileChooser
public static class FileChooser.SetFilesOptions extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.BooleannoWaitAfterActions that initiate navigations are waiting for these navigations to happen and for pages to start loading.java.lang.DoubletimeoutMaximum time in milliseconds.
-
Constructor Summary
Constructors Constructor Description SetFilesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileChooser.SetFilesOptionssetNoWaitAfter(boolean noWaitAfter)Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading.FileChooser.SetFilesOptionssetTimeout(double timeout)Maximum time in milliseconds.
-
-
-
Field Detail
-
noWaitAfter
public java.lang.Boolean noWaitAfter
Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults tofalse.
-
timeout
public java.lang.Double timeout
Maximum time in milliseconds. Defaults to30000(30 seconds). Pass0to disable timeout. The default value can be changed by using theBrowserContext.setDefaultTimeout()orPage.setDefaultTimeout()methods.
-
-
Method Detail
-
setNoWaitAfter
public FileChooser.SetFilesOptions setNoWaitAfter(boolean noWaitAfter)
Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults tofalse.
-
setTimeout
public FileChooser.SetFilesOptions setTimeout(double timeout)
Maximum time in milliseconds. Defaults to30000(30 seconds). Pass0to disable timeout. The default value can be changed by using theBrowserContext.setDefaultTimeout()orPage.setDefaultTimeout()methods.
-
-