Can anyone please tell me how to use jQuery with selenium-webdriver to scrape some web page with Node.JS
My current code looks like this
driver.get(args.bookingURL).then(function () {
                return driver.executeScript("\
                    $('#customer_login_email').val('sonetsobuj@gmail.com');\
                    $('#customer_login_password').val('*******');\
                    ");
            }).then(function () {
                console.log('Button Will be Clicked');
                return driver.executeScript("$('#customer_login').click();");
            });
When I execute this script terminal shows this
JavascriptError: $ is not defined
 
     
    