
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi @Bolagsverket ,
Feature ShadowDOM support was officially release in LR 2020 SP3, I would suggest you to upgrade your version from LR2020 to LR2020 SP3 to test ShadowDOM elements.
See more about TruClient What's New from: What's New (microfocus.com)
Thanks,
Zhipeng

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I'm having the same issue. Is there any update on this issue?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi @Bolagsverket ,
Feature ShadowDOM support was officially release in LR 2020 SP3, I would suggest you to upgrade your version from LR2020 to LR2020 SP3 to test ShadowDOM elements.
See more about TruClient What's New from: What's New (microfocus.com)
Thanks,
Zhipeng