* {{> scrollPageToBottom }}
()
| 1661 | * {{> scrollPageToBottom }} |
| 1662 | */ |
| 1663 | async scrollPageToBottom() { |
| 1664 | return this.executeScript(() => { |
| 1665 | const body = document.body |
| 1666 | const html = document.documentElement |
| 1667 | window.scrollTo(0, Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight)) |
| 1668 | }) |
| 1669 | } |
| 1670 | |
| 1671 | /** |
| 1672 | * {{> scrollTo }} |
nothing calls this directly
no test coverage detected