We have a web component under #shadow-root that i want to test using testcafe . But when i try to load the page from the testcafe script, page loads but only #shadow-root component is not loading and any assertion to verify the existence of those elements fails.
Console error shows " hammerhead.js: Uncaught DOMException: Failed to execute 'setAttribute' on 'Element': 'hammerhead|element-processed' is not a valid attribute name."
Anyone knows how to enable the loading of #shadow-root components on the webpage using testcafe ?