Skip to content

gf.click

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');
});
});