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 c2f02e4 commit 35310df
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 @@ -350,7 +350,7 @@ private String getCurrentSortingOrder(String columnKey) {
WebElement columnHeader = Common.driver.findElement(By.xpath("//*[@role='columnheader' and @*[.='" + columnKey + "']]"));

// Scroll into view
//((JavascriptExecutor) Common.driver).executeScript("arguments[0].scrollIntoView(true);", columnHeader);
((JavascriptExecutor) Common.driver).executeScript("arguments[0].scrollIntoView(true);", columnHeader);

String oldSortOrder = columnHeader.getAttribute("aria-sort");

Expand Down

0 comments on commit 35310df

Please sign in to comment.