pull/286/head
Thomas Buckley-Houston 2019-06-18 13:30:38 +03:00
rodzic 31def7cc30
commit 554f7f393a
2 zmienionych plików z 22 dodań i 1 usunięć

11
package-lock.json wygenerowano 100644
Wyświetl plik

@ -0,0 +1,11 @@
{
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"prettier": {
"version": "1.18.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.2.tgz",
"integrity": "sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw=="
}
}
}

Wyświetl plik

@ -40,6 +40,11 @@ global.dimensions = {
global.document = {
addEventListener: () => {},
body: {
contains: () => {
return true;
}
},
getElementById: () => {},
getElementsByTagName: () => {
return [
@ -135,7 +140,12 @@ let functions = {
let text_builder = new TextBuilder(
channel,
graphics_builder.dimensions,
graphics_builder
graphics_builder,
{
browsh: {
use_experimental_text_visibility: true
}
}
);
graphics_builder._getScreenshotWithText(() => {
graphics_builder._getScreenshotWithoutText();