We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af46d42 commit c4e313fCopy full SHA for c4e313f
tests/AllTests.js
100644
100755
@@ -1011,7 +1011,19 @@ class AllTests
1011
}
1012
);
1013
1014
- const phantomPage = await phantom.createPage();
+ try
1015
+ {
1016
+ const phantomPage = await phantom.createPage();
1017
+ }
1018
+ catch(error)
1019
1020
+ if(error.message.includes("Error reading from stdin"))
1021
1022
+ // https://github.com/amir20/phantomjs-node/issues/649
1023
+ return;
1024
1025
1026
+
1027
await phantomPage.setting("javascriptEnabled", true);
1028
1029
0 commit comments