Find and click on a text element that changes attributes every several seconds

18 views
Skip to first unread message

Jonathan Markman

unread,
Jan 2, 2019, 2:23:57 PM1/2/19
to Selenium Users
Hi User Group members,

I'm trying to click on a text element to test some filtering functionality in one of the web apps that my workplace makes, but that text element is a child element of a jquery chart. That chart changes attributes every several seconds in response to changes/updates in a database, specifically its ID; this makes it really tough to even keep it open in Chrome DevTools. It doesn't look like the child text element changes its class, but it's a compound class name, so I've tried searching by xpath; however, Visual Studio simply throws an exception that it can't find the element in question. Is there some way that the docs don't cover to find a static element in a dynamic one?
Reply all
Reply to author
Forward
0 new messages