Class DragDataItem

java.lang.Object
org.openqa.selenium.devtools.v136.input.model.DragDataItem

@Beta public class DragDataItem extends Object
  • Constructor Details

  • Method Details

    • getMimeType

      public String getMimeType()
      Mime type of the dragged data.
    • getData

      public String getData()
      Depending of the value of `mimeType`, it contains the dragged link, text, HTML markup or any other data.
    • getTitle

      public Optional<String> getTitle()
      Title associated with a link. Only valid when `mimeType` == "text/uri-list".
    • getBaseURL

      public Optional<String> getBaseURL()
      Stores the base URL for the contained markup. Only valid when `mimeType` == "text/html".