check if element is clickable with nightwatchjs

  • 1 Replies
  • 1412 Views
*

Karen

  • *
  • 17
check if element is clickable with nightwatchjs
« on: May 01, 2016, 18:00:23 pm »
How is it done with nightwatch? selenium server can't click on element because it is not 'clickable'.

*

Oren

  • **
  • 59
Re: check if element is clickable with nightwatchjs
« Reply #1 on: May 02, 2016, 19:52:15 pm »
Code
browser.waitUntilElementIsClickable('.cls');

Or, you could use page elements:

Code
var homePage = browser.page.HomePage();
homePage.waitUntilElementIsClickable('@element');

 

Sitemap 1 2 3 4 5 6 7 8