[ad_1]
I’m attempting to scroll on safari browser however after operating this script this system execution stops in appium and it would not goes to the subsequent command please assist it’s throwing this error
org.openqa.selenium.WebDriverException: Appium error: An unknown server-side error occurred whereas processing the command.
Unique error: Didn’t get any response for atom execution after 120014ms (WARNING: The server didn’t present any stacktrace data)
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript(“var script = doc.createElement(‘script’);script.src = “https://cdn.jsdelivr.internet/npm/seamless-scroll-polyfill@newest/lib/bundle.min.js”;doc.getElementsByTagName(‘head’)[0].appendChild(script);”);
js.executeAsyncScript(“seamless.polyfill(); seamless.scrollBy(window, { habits: “clean”, prime: 800, left: 0 }); “);
[ad_2]
