Clipboard actions
cut
Method allowing to cut content.
object
Parameter | Type | Description |
---|---|---|
value? | string | Value to cut. |
selector? | selectorType | Selector of the the targeted element. |
format? | text/plain / text/html / default | Value format. |
store? | {value: string;} | Value to store. |
Basic Usage
await I.cut({value:`321`})
copy
Method allowing to copy content.
object
Parameter | Type | Description |
---|---|---|
value? | string | Value to cut. |
selector? | selectorType | Selector of the the targeted element. |
format? | text/plain / text/html / default | Value format. |
store? | {value: string;} | Value to store. |
Basic Usage
await I.copy("mySelector");
paste
Method allowing to paste content.
Parameter | Type | Description |
---|---|---|
to? | selectorType | Selector of the targeted element. |
store? | {value: string;} | Value to store. |
Basic Usage
await I.paste("mySelector");