Class AppiumClipboard

java.lang.Object
com.codeborne.selenide.appium.AppiumClipboard
All Implemented Interfaces:
Clipboard, Conditional<Clipboard>

public class AppiumClipboard extends Object implements Clipboard
  • Constructor Details

    • AppiumClipboard

      public AppiumClipboard(Driver driver)
  • Method Details

    • driver

      public Driver driver()
      Specified by:
      driver in interface Conditional<Clipboard>
      Returns:
      current Driver (used to take screenshots etc. in case of test failure)
    • object

      public Clipboard object()
      Specified by:
      object in interface Conditional<Clipboard>
      Returns:
      object under test
    • getText

      public String getText()
      Description copied from interface: Clipboard
      Get text from clipboard
      Specified by:
      getText in interface Clipboard
      Returns:
      string content of clipboard
    • setText

      public void setText(String text)
      Description copied from interface: Clipboard
      Set text to clipboard
      Specified by:
      setText in interface Clipboard
      Parameters:
      text - value to be set to clipboard