gf.click
gf.click(selector: string): Promise<void>
Section titled “gf.click(selector: string): Promise<void>”Simulates a click on the specified element.
selector
: The CSS selector of the element to click.- Returns a promise that resolves when the click is complete.
describe('Test script', function () { it('Test 1', async () => { await gf.click('.my-button'); });});