org.openqa.selenium.JavascriptException: javascript error: $ is not defined in ashot library

preview_player
Показать описание
Javascript error $ not found selenium beacuse of ashot library takescreenshot having an issue with jquery not found in the webpage .using coords provider we can overcome $ not found issue in ashot.

Screenshot sh =new AShot().coordsProvider(new WebDriverCoordsProvider()).takeScreenshot(driver, search);

#JavascriptExceptionInSelenium,#AshotLibraryInJava,#$notFoundJavascriptError
Рекомендации по теме
Комментарии
Автор

Thank you so much sir...Struggled for this exception nearly 3 hrs

DivyaSethu-jkxz
Автор

it;s really really very helpful information

mohiuddinahmed
Автор

Thank you I ad same problem, it solved my exception

nasrinfallah
Автор

please I have problem when opera browser open he stop in url data; he don't open a url
what you think the problem

hatimvillain
Автор

Augmenter should be applied to the instances of @Augmentable classes or previously augmented instances only (instance class was: class
This Error is Coming

MidnightMemories