StrikekitStrikekit

copy

Write text to the browser clipboard

Write quoted text to the browser clipboard. Clipboard permissions are granted on first use.

Syntax

When I copy "<text>"

Examples

When I copy "hello"
Then I should have clipboard value "hello"

Notes

  • Pair with should have clipboard value to assert the clipboard.
  • Web only. Appium / Platform: api return unsupported.

On this page