element.hover
element.hover(): Promise<void>
Section titled “element.hover(): Promise<void>”Simulates hovering over the element.
- Returns a promise that resolves when the action is complete.
describe('Test script', function () { it('Test 1', async () => { const element = await gf.get('.my-button'); await element.hover(); });});