DevTools Recorder support text and XPath selector from Chrome 108 onwards. I am wondering if there are similar selector in Nightwatch?
Here is the example step's json.
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Proceed to checkout"
],
[
"[data-test=checkout]"
],
[
"xpath///*[@data-test=\"checkout\"]"
],
[
"text/Total: $0.00"
]
]
}

DevTools Recorder support text and XPath selector from Chrome 108 onwards. I am wondering if there are similar selector in Nightwatch?
Here is the example step's json.
{ "type": "click", "target": "main", "selectors": [ [ "aria/Proceed to checkout" ], [ "[data-test=checkout]" ], [ "xpath///*[@data-test=\"checkout\"]" ], [ "text/Total: $0.00" ] ] }