From 402ecbd705a2421c7d263a3899b043445028cd0f Mon Sep 17 00:00:00 2001 From: Nisha Bagdwal Date: Thu, 18 Jul 2024 11:31:10 -0400 Subject: [PATCH] HPCC-31857 - Scroll web element into view --- esp/src/test-ui/tests/framework/pages/BaseTableTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp/src/test-ui/tests/framework/pages/BaseTableTest.java b/esp/src/test-ui/tests/framework/pages/BaseTableTest.java index 7f6cd71422b..ecb47d606c8 100644 --- a/esp/src/test-ui/tests/framework/pages/BaseTableTest.java +++ b/esp/src/test-ui/tests/framework/pages/BaseTableTest.java @@ -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)) {