NightwatchJS – re-perform a client.execute() function on fail
A snippet to perform a certain action again, if it fails In my current job, I also write NightwatchJS tests in order to automatically run tests for a software. During development, our team realized that sometimes you cannot know whether or not an event handler has already attached to a certain dynamically created DOM object […]