Page 1 of 1

Polymer.js and shadow dom issues

Posted: Mon Dec 29, 2014 5:38 pm
by wrodriguez
has anyone tried to automate UI running polymer.js in chrome
it creates a shadow dom and we are unsure on how to dig into the dom with expath,

now i heard people using nightwatch.js framework to accomplish this with webdriver specifically, but since we are using ranorex i was wondering if anyone has any help they can point me to so we can dig into the dom and identify elements.

Re: Polymer.js and shadow dom issues

Posted: Mon Jan 05, 2015 5:17 pm
by Support Team
Hi wrodriguez,

Ranorex does not yet support shadow dom which is used in polymer.js, which is in the development phase and not in the final state. Shadow dom itself is currently also just supported by Chrome which is why Ranorex cannot see the dom elements under the shadow dom root in Chrome, since it hides the child elements and they are therefore not exposed to the normal dom.
But you should be able to identify all the web elements when shown in the other browsers (IE, FF), since they not yet support shadow dom and therefore show the shadow dom "elements" in the normal dom, which is why Ranorex can identify those elements.

I hope this information proves helpful for you.

Regards,
Markus

Re: Polymer.js and shadow dom issues

Posted: Tue Jun 30, 2015 3:36 pm
by wrodriguez
looks like they released 1.0 for polymer ,

do we think this is something ranorex will be looking at soon to get around shadow dom issues?

Re: Polymer.js and shadow dom issues

Posted: Thu Jul 02, 2015 1:44 pm
by Support Team
Hi wrodriguez,

Thank you for the information, I will forward it.

Regarding shadow dom, I am afraid the status didn't change.
Shadow dom is still just supported by Chrome, but we will keep it in mind.
Thank you for you understanding.

Regards,
Markus

Re: Polymer.js and shadow dom issues

Posted: Wed Nov 18, 2015 9:43 pm
by wrodriguez
following up on polymer we still are looking for a solution, any update?

Re: Polymer.js and shadow dom issues

Posted: Fri Nov 20, 2015 1:50 pm
by Support Team
Hi wrodriguez,

Unfortunately there is currently no news on this, but as far as I am informed, Shadow Dom’s are still only supported by Chrome. Anyway, we will keep you up-to-date if there are any news.

Thank you for your understanding.

Regards,
Markus (S)