You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Team and I are working with Web Components and trying to think of a plausible way of testing them when they feature Shadow root. Since in Selenium the only way to do this is by generating Galen objects out of a JS selector (i.e: document.querySelector('a-web-component').shadowRoot.querySelector('div')) ,maybe there is a way we can inject js to generate the Galen object, being this the ideal scenario:
HTML <a-web-component> #shadow-root (open) <div>Some text</div> </a-web-component>
My Team and I are working with Web Components and trying to think of a plausible way of testing them when they feature Shadow root. Since in Selenium the only way to do this is by generating Galen objects out of a JS selector (i.e: document.querySelector('a-web-component').shadowRoot.querySelector('div')) ,maybe there is a way we can inject js to generate the Galen object, being this the ideal scenario:
HTML
<a-web-component> #shadow-root (open) <div>Some text</div> </a-web-component>
GALEN.GSPEC
@objects web-component js document.querySelector('a-web-component').shadowRoot.querySelector('div')
Since this is not available now... is there any way of pushing elements into the @object Map by using a JS selector or through script injection?
Thank you in advance.
The text was updated successfully, but these errors were encountered: