import { Browser } from 'webdriverio' ; import { clickOn } from '../util' ; export async function copyValueToClipboard ( browser ) { const copyButton = await browser . $ ( '//span[contains(text(), "Value")]//button' ) ; await clickOn ( copyButton , browser , 1 ) ; }