Hello I am trying to use a dynamic selector to input data into a client record. I originally did not know this was a dynamic fields but I have tried to use a variable to modify the code but I am still getting the same error. the unique ID for the client is populated on the page and I am trying to use my variable to match on the unique id but still not working.
Thanks
Error Message
Element with selector
iframe[Id="iframe-6382513"] div[Id="record-nav-frame-body"] > nav[Class="record-nav-wrapper"] > ul[Class="list-unstyled"] > li[Class="first-item"] > a[Class="record-nav-link has-submenu"] > div[Class="record-nav-name"]
not found.
My Code
iframe[Id="iframe-%ClientID%"] div[Id="record-nav-frame-body"] > nav[Class="record-nav-wrapper"] > ul[Class="list-unstyled"] > li[Class="first-item"] > a[Class="record-nav-link has-submenu"] > div[Class="record-nav-name"]