Skip to content

gf.scrollToTop

Scrolls the page to the top.

  • Returns a promise that resolves when the scroll action is complete.
describe('Test script', function () {
it('Test 1', async () => {
// Scroll to the top of the page
await gf.scrollToTop();
// Proceed with further actions or assertions
});
});