When using following code:
String tekst = WebUI.executeJavaScript(‘return $(\’#hplogo\‘).html()’, )
println(tekst)
i get the following message:
Unable to execute JavaScript. (Root cause: org.openqa.selenium.WebDriverException: unknown error: $ is not defined
Is it possible to use jQuery in any meaningful way?