0

I am doing End-to-End testing using botium webdriverIO connector and getting the following error:

"...WebDriver error on UserSays: javascript error: Failed to set the 'innerHTML' property on 'Element': This document requires 'TrustedHTML' assignment."

Did someone have such problem? How it can be fixed?

Thank you in advance.

qatest
  • 5
  • 3
  • Seems to have something to do with "trusted types" - https://web.dev/trusted-types/ - and maybe your CSP-Headers prevent it. Can you disclose the URL of the website ? – Florian Treml Jan 28 '22 at 16:03
  • I'm getting the same error when attempting DOM manipulation via Puppeteer and JS: this.page.setContent(contentWav); – Gary Vaughan Jr May 24 '22 at 01:39

0 Answers0