New here, and new to TestCafe. I worked through a couple tutorials and beginning to understand. But running into a problem.
The button I want to click doesn't have an ID property, and the xpath is dynamic, changes every time I login. The only thing that I think is static is the button name "Member Search".
When I use the Dev Tools in Chrome and copy the element it looks like this:
<span class="sd_widget_btn_text_positioner">Member Search</span>
The Selector looks like this now, but changes every time:
#ext-gen203 > div > span
XPath currently looks like this:
Can someone show me how to .click() on a button with this scenario?
Thanks very much in advance