Class FileChooserOpened
- java.lang.Object
-
- org.openqa.selenium.devtools.v112.page.model.FileChooserOpened
-
public class FileChooserOpened extends java.lang.Object
Emitted only when `page.interceptFileChooser` is enabled.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileChooserOpened.Mode
-
Constructor Summary
Constructors Constructor Description FileChooserOpened(FrameId frameId, FileChooserOpened.Mode mode, java.util.Optional<BackendNodeId> backendNodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<BackendNodeId>
getBackendNodeId()
Input node id.FrameId
getFrameId()
Id of the frame containing input node.FileChooserOpened.Mode
getMode()
Input mode.
-
-
-
Constructor Detail
-
FileChooserOpened
public FileChooserOpened(FrameId frameId, FileChooserOpened.Mode mode, java.util.Optional<BackendNodeId> backendNodeId)
-
-
Method Detail
-
getFrameId
@Beta public FrameId getFrameId()
Id of the frame containing input node.
-
getMode
public FileChooserOpened.Mode getMode()
Input mode.
-
getBackendNodeId
@Beta public java.util.Optional<BackendNodeId> getBackendNodeId()
Input node id. Only present for file choosers opened via an element.
-
-