I'm not sure if you have tried using Classes / CSS Paths, IDs, or XPATHs but that might be what you are looking for. I wrote a simple
test {below} that navigates to google and performs a search for 'Nightwatch.JS'. Save the code below into a file (google.js) and run it.
This should help you and others here understand how to use to use xpaths within your Nightwatch tests.
Don't forget to comment out one of the setValue and click commands before running the test or it will fail.
Please let me know if this helps or is somehow not clear.
selectConfirmEmail: {
selector: '[name="confirmemail"]'
},
selectAddress: {
selector: '[name="address"]'