Skip to content

Conversation

@TDL-EdgarsEglitis
Copy link
Collaborator

@TDL-EdgarsEglitis TDL-EdgarsEglitis commented Jun 25, 2024

This fixes an issue with scroll_until_element_visible when using RecheckAfterScrolls, where the scroll positions were not correctly calculated. Related to #61.

Copy link
Contributor

@alvarolaserna alvarolaserna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is fine, but reviewing the code, I got wondering, the default timeout for the scrolling seems to be 60 seconds. I feel like we should be using the default on the global variable @timeout instead, as thats the default behaviour for alll the rest method's timouts. wdyt?

@TDL-EdgarsEglitis
Copy link
Collaborator Author

Good point - I have changed that as well and reflected this in the PR title.

@TDL-EdgarsEglitis TDL-EdgarsEglitis changed the title fix: fix RecheckAfterScrolls behavior fix: fixes for scroll_until_element_visible Jun 26, 2024
@TDL-EdgarsEglitis TDL-EdgarsEglitis merged commit 486d232 into master Jun 26, 2024
@TDL-EdgarsEglitis TDL-EdgarsEglitis deleted the fix-scroll-until-recheck branch June 26, 2024 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants