New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Commodore
Commodore
309 views

TruClient support of Shadow DOM?

Hello,

I need to script an application that makes use of shadow DOM. As I found out: Truclient cannot identify elements that are part of the Shadow DOM. I am using VUgen 12.57 TruClient with Chromium browser. My questions:

Are there work arounds that will allow for using TruClient and access Shadow DOM elements? I could not find any while searching through Google. Any suggestions?

Regards,

Peet

3 Replies
Cadet 3rd Class
Cadet 3rd Class

I'm having the same issue. Is there any update on this issue?

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Hi @PeetD and @Xarat ,

Thank you for the feedbacks. Currently TruClient doesn't support Shadow DOM. Suggest to go to the idea exchange https://community.microfocus.com/t5/ADM-Idea-Exchanges/ct-p/admideas  to raise a ticket and vote it. This will influence the development decision making and development process. Thank you.

 

A workaround for the current version of TruClient can be developed by replace the test object identification method to JS and write your own JS logic to get the target for example:

document.getElementById('x').shadowRoot.querySelector('css-query');

 

Best regards,

Edwin

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Hi @Xarat and @PeetD ,

As Edwin said, TruClient doesn't support ShadownDOM in current market available versions, but we're working on it internally, hope it can be official available soon.

BTW, as a part of our Beta Validation Program, we're recruiting customer to join the ShadownDOM TruClient beta program, if you're licensed customer and interested in joining the program, please feel free to @ me!

Thanks,

Penn

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.