How to use the following getShadowRoot()

Hi all, im trying to automate a remedyforce page but im having trouble seeing some of the elements within an iframe, im guessing its a shadow element.
Hoping the following image loads

Anyways im trying to use the getshadowroot method by using call method but i dont really understand how call method works

Hi Adam,

Which Library are you using? different libraries handle this differently.



Im using seleniumLibrary, but I dunno where the getshadowroot actually is or what object I need to use or much about how to use call method

Many thanks

It’s not shadow root, it’s just iframe to which you have to switch using Select Frame keyword.

1 Like


So this is when I have used select frame to get into the iframe, from there it doesnt seem to see all the elements within the iframe

Sorry I should have mentioned that on the question