Class DragDataItem
- java.lang.Object
-
- org.openqa.selenium.devtools.v112.input.model.DragDataItem
-
@Beta public class DragDataItem extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DragDataItem(java.lang.String mimeType, java.lang.String data, java.util.Optional<java.lang.String> title, java.util.Optional<java.lang.String> baseURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
getBaseURL()
Stores the base URL for the contained markup.java.lang.String
getData()
Depending of the value of `mimeType`, it contains the dragged link, text, HTML markup or any other data.java.lang.String
getMimeType()
Mime type of the dragged data.java.util.Optional<java.lang.String>
getTitle()
Title associated with a link.
-
-
-
Method Detail
-
getMimeType
public java.lang.String getMimeType()
Mime type of the dragged data.
-
getData
public java.lang.String getData()
Depending of the value of `mimeType`, it contains the dragged link, text, HTML markup or any other data.
-
getTitle
public java.util.Optional<java.lang.String> getTitle()
Title associated with a link. Only valid when `mimeType` == "text/uri-list".
-
getBaseURL
public java.util.Optional<java.lang.String> getBaseURL()
Stores the base URL for the contained markup. Only valid when `mimeType` == "text/html".
-
-