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 this response was helpful, please mark it as Helpful and, if applicable, as Correct, this helps other users find accurate and useful information more easily.