Nightwatch configuration

Once you’ve installed nightwatch, you will need to create a configuration file. Configuration file can be saved as .json file or .js file. You can choose any of option and both will do the job, but I prefer .js file, because it can contain custom variables and comments. Comments in configuration file can be helpful […]

Read more
Implementing page object with root element

What is the problem It is a common case that a fragment of a page appears on multiple pages. This can be a header, a toolbar, a footer or any block of elements related to each other. These parts can be called sections, panels, blocks, components or by any other name the test developers want. […]

Read more