Class AppiumClipboard

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

@ParametersAreNonnullByDefault public class AppiumClipboard extends Object implements Clipboard
Since:
1.6.10
  • Constructor Details

    • AppiumClipboard

      public AppiumClipboard(Driver driver)
  • Method Details

    • driver

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

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

      @CheckReturnValue @Nonnull 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