Polymer.js and shadow dom issues

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
User avatar
wrodriguez
Posts: 9
Joined: Fri Dec 19, 2014 5:03 pm

Polymer.js and shadow dom issues

Post by wrodriguez » Mon Dec 29, 2014 5:38 pm

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Polymer.js and shadow dom issues

Post by Support Team » Mon Jan 05, 2015 5:17 pm

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

User avatar
wrodriguez
Posts: 9
Joined: Fri Dec 19, 2014 5:03 pm

Re: Polymer.js and shadow dom issues

Post by wrodriguez » Tue Jun 30, 2015 3:36 pm

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?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Polymer.js and shadow dom issues

Post by Support Team » Thu Jul 02, 2015 1:44 pm

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

User avatar
wrodriguez
Posts: 9
Joined: Fri Dec 19, 2014 5:03 pm

Re: Polymer.js and shadow dom issues

Post by wrodriguez » Wed Nov 18, 2015 9:43 pm

following up on polymer we still are looking for a solution, any update?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Polymer.js and shadow dom issues

Post by Support Team » Fri Nov 20, 2015 1:50 pm

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)