All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.codeborne.selenide.Clipboard Maven / Gradle / Ivy

There is a newer version: 7.6.1
Show newest version
package com.codeborne.selenide;

import javax.annotation.CheckReturnValue;
import javax.annotation.Nonnull;
import javax.annotation.ParametersAreNonnullByDefault;

/**
 * @since 5.20.0
 */
@ParametersAreNonnullByDefault
public interface Clipboard extends Conditional {

  /**
   * Get text from clipboard
   *
   * @return string content of clipboard
   */
  @CheckReturnValue
  @Nonnull
  String getText();

  /**
   * Set text to clipboard
   *
   * @param text value to be set to clipboard
   */
  void setText(String text);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy