shadow xpath in DOM using java selenium?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2025 07:14 AM
I'm developing an Automation script for the service now application, I'm having the admin access but unable to write the automation codes. I'm unable to find the locators in the Service Now DOM as they are shadow content. I'm using Java -Selenium for developing the scripts. Can any one help me on that.
Thanks
Reshi N
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2025 09:44 AM
Hi @ReshiN
May you try to change to UI15 version.
Is an old version of ServiceNow that no use shadow content
https://www.youtube.com/watch?v=QzUzmsZxAtQ
If you found this response helpful, please mark it as Helpful. If it fully answered your question, consider marking it as Correct. Doing so helps other users find accurate and useful information more easily.
This video provides an overview of how to turn off Next Experience and switch to UI16 and UI15 on ServiceNow. This video is part of the ServiceNow System Administration Fundamentals Training Playlist. Please consider subscribing to our channel for more ServiceNow, IT, and military content. Check ...
