Nightwatch - Cannot click on elements in Safari (Catalina)
Asked 07 September, 2021
Viewed 1.6K times
  • 64
Votes
  • Nightwatch: 1.3.4
  • Safari: 13.0
  • OS X: 10.15.3

I'm trying to set up my tests for Safari using Nightwatch.js and I'm running into a roadblock. For some reason, I'm unable to click on anything (whereas with the other browsers, I can).

Here's a simple test that fails -->

browser.url('https://www.google.com')
browser.waitForElementPresent('#gbqfbb')
browser.click('#gbqfbb')

1 Answer