I have complex DOM structure with dynamically changing values of the HTML id attributes. Selenium is returning "null" when I attempt to extract the values of the "custom" attributes.
I need to extract the value of parentId (namely I need the "qqq-bbb", which is different on every reload)
//Selenium(C#):
// evaluates to "null"
string someStringName = someIWebElement.GetAttribute("parentId");
//HTML tag (example):
// in Chrome the parentId is visible and unique
<g id="333-aaa" parentId="qqq-bbb">