Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

shadow xpath in DOM using java selenium?

ReshiN
Mega Explorer

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

Rafael Batistot
Kilo Patron

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.