blob: 6dc03185ee7869501cfce8155feecd8ca6b23b1f [file] [log] [blame]
(async function(testRunner) {
const {page, session, dp} = await testRunner.startURL('../resources/dom-snapshot-scroll-offset.html', 'Tests DOMSnapshot.getSnapshot reports scroll offset and bounding box in terms of document coordinates.');
const response = await dp.DOMSnapshot.getSnapshot({'computedStyleWhitelist': []});
if (response.error)
testRunner.log(response);
else
testRunner.log(response.result, null, ['documentURL', 'baseURL', 'frameId', 'backendNodeId']);
testRunner.completeTest();
})