JavaScript error: this.each is not a function

Hi !

Almost same behavior but error is : Caused by: org.openqa.selenium.JavascriptException: javascript error: this.each is not a function
(Session info: chrome=81.0.4044.129)

–> works fine with firefox

Any idea ?

Thank you very much :slight_smile:

As far as I know, there is no JavaScript native .each() method - there is a jQuery .each() and there are likely more out there within other JS libraries.

The question I have is: what is the this object referring to?

I’ll need to see more code:

no need to, update Chrome + webdriver and… problem solved !


1 Like