Skip to content

Commit

Permalink
HPCC-31857 - Scroll web element into view
Browse files Browse the repository at this point in the history
  • Loading branch information
Nisha-Bagdwal committed Jul 18, 2024
1 parent 35310df commit 402ecbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp/src/test-ui/tests/framework/pages/BaseTableTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ private void testLinksInTable() {
String href = Common.driver.getCurrentUrl();

String dropdownValueBefore = getSelectedDropdownValue();

((JavascriptExecutor) Common.driver).executeScript("arguments[0].scrollIntoView(true);", element);
element.click();

if (Common.driver.getPageSource().contains(name)) {
Expand Down

0 comments on commit 402ecbd

Please sign in to comment.