Codeception / Codeception/module-webdriver
scrollTo function should have an alignTo option
Đang mở
- Ngôn ngữ chính
- PHP
- Star
- 39
- Fork
- 25
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Using the scrollTo function I got some errors clicking elements since always aligns the element to the top. It has x and y offsets but running this on a different device is hard. So it will good to have an extra parameter to maybe have the option to align the element to top, bottom and center. I have checked the function scrollTo and I can add that functionally to it. It can be something similar to this: https://www.w3schools.com/jsref/met_element_scrollintoview.asp
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.