Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/codeceptjs/CodeceptJS
/ scrollPageToTop
Method
scrollPageToTop
lib/helper/Puppeteer.js:900–904 ·
view source on GitHub ↗
* {{> scrollPageToTop }}
()
Source
from the content-addressed store, hash-verified
898
* {{> scrollPageToTop }}
899
*/
900
scrollPageToTop() {
901
return
this.executeScript(() => {
902
window.scrollTo(0, 0)
903
})
904
}
905
906
/**
907
* {{> scrollPageToBottom }}
Callers
4
tests
Function · 0.45
Playwright.types.ts
File · 0.45
PlaywrightTs.types.ts
File · 0.45
WebDriverIO.types.ts
File · 0.45
Calls
2
executeScript
Method · 0.95
scrollTo
Method · 0.45
Tested by
no test coverage detected