MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / scrollPageToTop

Method scrollPageToTop

lib/helper/WebDriver.js:2877–2883  ·  view source on GitHub ↗

* {{> scrollPageToTop }}

()

Source from the content-addressed store, hash-verified

2875 * {{> scrollPageToTop }}
2876 */
2877 scrollPageToTop() {
2878 const client = this.browser
2879
2880 return client.execute(function () {
2881 window.scrollTo(0, 0)
2882 })
2883 }
2884
2885 /**
2886 * {{> scrollPageToBottom }}

Callers

nothing calls this directly

Calls 1

scrollToMethod · 0.45

Tested by

no test coverage detected