added testrunner current version supports screen dump of html page as png
This commit is contained in:
Vendored
+5
-3
@@ -4898,11 +4898,13 @@
|
||||
//console.log("iconSrc", iconSrc)
|
||||
if (iconSrc.endsWith('index.png')) {
|
||||
icon.src = iconSrc.replace('index.png', 'thumbnail.png');
|
||||
} else if (iconSrc.endsWith('test.png')) {
|
||||
icon.src = iconSrc.replace('test.png', 'thumbnail.test.png');
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
icon.src = 'thumbnails/' + iconSrc;
|
||||
}
|
||||
|
||||
// icon.src = 'thumbnails/' + iconSrc
|
||||
// console.log(iconSrc)
|
||||
wrapper.href = src;
|
||||
let titleDiv = wrapper.querySelector('.title');
|
||||
titleDiv.innerText = title;
|
||||
|
||||
Reference in New Issue
Block a user