I am running Nightwatch JS test and need to enter text in my automation tests using XPath.
Hi Ana,
You can send text using XPath in Nightwatch like below:
browser.useXpath().setValue("(//*[contains(@class,'android.widget.EditText')])[1]", "Hello world!")