I wish to run the following command which I\'ve run in chrome console using webdriver. $(.myclass). function (). When I use webdriver of type JSExecutor and