You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to scroll relative to the locator element. Due I'm using the Playwright library, I tried to write helpers from Playwright like Element.scrollBy(), but none of them succeeded. Did someone have a helper which is related to that issue?
What do you get instead?
there is only I.scrollTo() which is relative to the web body
Provide console output if related. Use --verbose mode for more details.
# paste output here
Provide test source code if related
the helper
// paste test
Details
CodeceptJS version:
3.0.7
NodeJS Version:
v14.15.1
Operating System:
MacOs
puppeteer || webdriverio || protractor || testcafe version (if related)
This discussion was converted from issue #2919 on September 05, 2021 17:22.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What are you trying to achieve?
I'm trying to scroll relative to the locator element. Due I'm using the Playwright library, I tried to write helpers from Playwright like Element.scrollBy(), but none of them succeeded. Did someone have a helper which is related to that issue?
What do you get instead?
there is only I.scrollTo() which is relative to the web body
# paste output here
// paste test
Details
Beta Was this translation helpful? Give feedback.
All reactions