Codeception / Codeception/module-webdriver
scrollTo function should have an alignTo option
Abierto
- Lenguaje dominante
- PHP
- Estrellas
- 39
- Forks
- 25
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.