MCPcopy
hub / github.com/floating-ui/floating-ui / screenshot

Function screenshot

tests/utils/puppeteer.js:1–4  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export const screenshot = async page => {
2 await page.addStyleTag({ content: '* { color: transparent !important; }' });
3 return page.screenshot();
4};
5
6/* istanbul ignore next */
7export const scroll = async (page, selector, amount) => {

Callers 15

table.test.jsFile · 0.90
svg.test.jsFile · 0.90
rounding.test.jsFile · 0.90
auto.test.jsFile · 0.90
virtual.test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected