Skip to content

Commit

Permalink
Fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
asheshv committed Aug 30, 2024
1 parent ab2e467 commit 4c80dd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/regression/feature_utils/pgadmin_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,9 @@ def check_if_element_exists_with_scroll(self, xpath):
if (tree_height - top_el_location) == tree_height:
r_scroll = 0
else:
self.js_executor_scrollintoview_arg, top_el)
self.driver.execute_script(
self.js_executor_scrollintoview_arg, top_el
)
r_scroll -= 1
else:
break
Expand Down

0 comments on commit 4c80dd9

Please sign in to comment.