-
-
Notifications
You must be signed in to change notification settings - Fork 753
Closed
Description
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
Provide console output if related. Use
--verbosemode for more details.
# paste output here// paste testDetails
- CodeceptJS version:
- 3.0.7
- NodeJS Version:
- v14.15.1
- Operating System:
- MacOs
- puppeteer || webdriverio || protractor || testcafe version (if related)
- Playwright
- Configuration file:
MyPlaywrightHelper: {require: './myplaywrighthelper_helper.js'}
},
autoDelay: {
enabled: true,
},
include: {
I: "./steps_file.js",
website_home: "./pages/websiteAnalysisHome.ts",
queryBar: "./components/queryBar.ts",
widgetFrame: "./components/widgetFrame.ts",
trafficEngagement: "./fragments/website-performance/trafficEngagement.ts",
},
jquery: true,
bootstrap: null,
mocha: {},
name: "new-codecept",
plugins: {
pauseOnFail: {},
retryFailedStep: {
enabled: true,
},
tryTo: {
enabled: true,
},
screenshotOnFail: {
enabled: true,
},
commentStep: {
enabled: true,
registerGlobal: true,
},
},
};Metadata
Metadata
Assignees
Labels
No labels
