Codeception / Codeception/module-webdriver

scrollTo function should have an alignTo option

オープン
#13 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
39
フォーク
25
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。