*Update builds
This commit is contained in:
parent
e371a85b24
commit
1cdd3ff62b
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env node
|
||||
// @ts-ignore
|
||||
import { loadTester, login } from "../dist/index.js";
|
||||
import puppeteer from "puppeteer";
|
||||
import puppeteer, { ProtocolError } from "puppeteer";
|
||||
let browser;
|
||||
(async () => {
|
||||
browser = await puppeteer.launch({ headless: false, devtools: true });
|
||||
|
@ -12,3 +12,8 @@ let browser;
|
|||
process.on("SIGTERM", async () => {
|
||||
await browser.close();
|
||||
});
|
||||
process.on("uncaughtException", (e) => {
|
||||
if (!(e instanceof ProtocolError)) {
|
||||
throw e;
|
||||
}
|
||||
});
|
||||
|
|
956
public/tester.js
956
public/tester.js
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue