VMware Cloud Community
kaustubh_aphale
Contributor
Contributor

Shadow-root blocking ui automation for remote vCenter plugin.

Hi @_vladi_,
I am trying to use selenium/robot framework to automate ui testing of remote vCenter plugin. As seen in the screenshot the plugin loads inside the shadow-root(closed) element. But the shadow-root closed elements are not accessible through code. Is there a setting in vSphere client to make this shadow root element open instead of closed.

Thanks
Kaustubh

kaustubh_aphale_0-1637229988175.png

 

 

0 Kudos
2 Replies
_vladi_
VMware Employee
VMware Employee

Hi Kaustubh,

Yes, the shadow_root can be opened with the pluginDeveloperMode query parameter.
i.e. open the vSphere Client with this

https://<ip>/ui?pluginDeveloperMode=true

Also, for questions dedicated to vSphere Client plugins please use this forum: https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/bd-p/4540 . This way anyone (incl. the whole SDK team) can answer quickly.

Cheers,

Vladi

kaustubh_aphale
Contributor
Contributor

Thanks Vladi that worked out marvelously.

Regards
Kaustubh

0 Kudos