8 lines
264 B
TypeScript
8 lines
264 B
TypeScript
import { Page } from 'playwright'
|
|
import { clickOn } from '../util'
|
|
|
|
export async function copyValueToClipboard(browser: Page) {
|
|
const copyButton = await browser.getByRole('button', { name: 'Value' }).getByRole('button').first()
|
|
await clickOn(copyButton, 1)
|
|
}
|