Packages

Playwright Assets is a package for installing and running test assets in Playwright Node.js and Elixir implementations.

Current section

Files

Jump to
playwright_assets priv assets csscoverage multiple.html
Raw

priv/assets/csscoverage/multiple.html

<link rel="stylesheet" href="stylesheet1.css">
<link rel="stylesheet" href="stylesheet2.css">
<script>
window.addEventListener('DOMContentLoaded', () => {
// Force stylesheets to load.
console.log(window.getComputedStyle(document.body).color);
}, false);
</script>