When the wrong integrity value is used, the CCS/JS file will be blocked. Not sure what's the best way to test it, maybe we could just read the Browser console log to check if it contains info like "Failed to find a valid digest in the 'integrity' attribute for resource".
When the wrong integrity value is used, the CCS/JS file will be blocked. Not sure what's the best way to test it, maybe we could just read the Browser console log to check if it contains info like "Failed to find a valid digest in the 'integrity' attribute for resource".
Ref: https://stackoverflow.com/questions/20907180/getting-console-log-output-from-chrome-with-selenium-python-api-bindings Related issues: