Skip to main content
Version: 7.5.5

Clipboard actions

cut

Method allowing to cut content.

object

ParameterTypeDescription
value?stringValue to cut.
selector?selectorTypeSelector of the the targeted element.
format?text/plain / text/html / defaultValue format.
store?{value: string;}Value to store.

Basic Usage

  await I.cut({value:`321`})

copy

Method allowing to copy content.

object

ParameterTypeDescription
value?stringValue to cut.
selector?selectorTypeSelector of the the targeted element.
format?text/plain / text/html / defaultValue format.
store?{value: string;}Value to store.

Basic Usage

await I.copy("mySelector");

paste

Method allowing to paste content.

ParameterTypeDescription
to?selectorTypeSelector of the targeted element.
store?{value: string;}Value to store.

Basic Usage

await I.paste("mySelector");