diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-02-14 21:48:19 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-02-14 21:48:19 +0900 |
commit | ffd1018fa73eef644b170485cc9bd477e21804e7 (patch) | |
tree | 7874cb8dd1b0ef3fa5aacd5995cc2ae31aaab34e /e2e/ambassador/src | |
parent | d4e4b7541433d527225026f51e14fc0e2c585e04 (diff) |
add scroll test
Diffstat (limited to 'e2e/ambassador/src')
-rw-r--r-- | e2e/ambassador/src/content/scrolls.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/e2e/ambassador/src/content/scrolls.js b/e2e/ambassador/src/content/scrolls.js index 79be01d..4227cf7 100644 --- a/e2e/ambassador/src/content/scrolls.js +++ b/e2e/ambassador/src/content/scrolls.js @@ -5,6 +5,8 @@ const get = () => { yMax: element.scrollHeight - element.clientHeight, x: element.scrollLeft, y: element.scrollTop, + frameWidth: element.clientWidth, + frameHeight: element.clientHeight, }; }; |