I am using Selenium Webdriver tool for automation of my website.
I want to press ENTER key automatically using
driver.findElement(By.xpath('//*[@ng-click="today()"]')).sendKeys(Key.ENTER);
But I am getting error ReferenceError: Key is not defined
In python we have action chains to accomplish this task.
Is there any alternative in Node js ?
node.js