TestProject Forum
Powered by leading experts in the test automation community

Right Click with Nightwatch.js?

I wrote a few tests for my website using Nightwatch.js. I have searched and can’t seem to find how to issue a right click with mouse.

I checked the API Reference page and all.

Is this functionally supported with nightwatch ?

"Right Click" : function (browser) {
  browser
   .moveToElement('#element')
   .mouseButtonClick('right')
   .end();
}