Clicking does not work
See original GitHub issueWhen I try using the click function in nightwatch.js, sometimes it does not work. For example,
.waitForElementVisible('.test')
.pause(500)
.click('.test')
When I run the command in verbose, it states that the click was a success, but nightwatch.js didn’t actually click on the element; it didn’t go to the next page. What should I do to fix this?
Issue Analytics
- State:
- Created 7 years ago
- Comments:19 (1 by maintainers)
Top Results From Across the Web
Mouse pointer works but not able to click on Windows 10 / 11
Fix: Mouse pointer works but not able to click on Windows 10 / 11 · Fix 1 – Restart File explorer · Fix-2...
Read more >FIX: Mouse click not working in Windows 10/11
How can I fix the mouse clicking problem? · Run the Hardware and Devices troubleshooter · Boot in Safe Mode · Uninstall and...
Read more >How to Fix the Left Click Mouse Button Not Working on ...
How to Fix the Left Click Mouse Button Not Working on Windows 10 · 1. Fix a Corrupted User Profile · 2. Check...
Read more >Mouse Clicks Not Registering? 14 Proven Ways To Fix It
How to Fix Mouse Click Not Registering? · Change Buttons Configurations · Lower High CPU usage · Disable USB Selective Suspend · Uninstall...
Read more >Mouse Left-Click Button Not Working? Here's How to Fix It
Let's face it: Most left-click problems with mice are due to hardware failure. Unless you've accidentally enabled a particular setting in ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This dev is pretty oblivious of this click issue while there are about 20 tickets that addressed this. In Selenium Webdriver, all of my clicks are working fine. When using Nightwatch and building the same test I did in vanilla Selenium, the clicks do not work. That doesn’t look like a Selenium issue, it looks like a Nightwatch issue. We might abandon using Nightwatch, since there’s obviously no good support from the developer and our tests are working a lot better in vanilla Selenium. Some issues are yours dude, not another libraries’.
Yes, I need always add .pasue() after waitForElementVisible(), I do not how about others framework works, IMHO it doesn’t looks good.