Scroll element into view with different strategies
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
Implement a way to tell selenium how the scroll element into the view should behave.
It could be told by capability or any other way, it's up to you.
The most important part is that it should work across all the supported browsers.
Example:
ScrollElementIntoView.Top
ScrollElementIntoView.Center
ScrollElementIntoView.Bottom
This would be nice to tell selenium once when it starts the browser and be able to change if needed during the test run. This is for flexibility.
If no value is provided use Top as it is at the moment.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no file, test, or entry point. Start by reviewing the WebDriver specification's existing scroll-into-view behavior and configuration model; done means defining selectable top, center, and bottom strategies, preserving Top as the default, and allowing the setting to change during a test run across supported browsers.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100