Skip to content

Commit

Permalink
puppeteer headless new
Browse files Browse the repository at this point in the history
  • Loading branch information
adaptive committed Aug 7, 2023
1 parent 8a112a8 commit cfbbbeb
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion tools/spotters/atlanticnet.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import provider from "../../data/providers/atlanticnet.js";
const asset = "atlanticnet";

const spotter = async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.goto("https://status.atlantic.net/");
const data = await page.$eval(
Expand Down
2 changes: 1 addition & 1 deletion tools/spotters/cloudflare.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import provider from "../../data/providers/cloudflare.js";
const asset = "cloudflare";

const spotter = async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.goto("https://www.cloudflarestatus.com/");
const data = await page.$eval(
Expand Down
2 changes: 1 addition & 1 deletion tools/spotters/deno.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import provider from "../../data/providers/deno.js";
const asset = "deno";

const spotter = async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.goto("https://deno.com/deploy/docs/regions");
const data = await page.$eval(
Expand Down
2 changes: 1 addition & 1 deletion tools/spotters/digitalocean.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import provider from "../../data/providers/digitalocean.js";
const asset = "digitalocean";

const spotter = async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.goto("https://status.digitalocean.com/");
const data = await page.$eval(
Expand Down
2 changes: 1 addition & 1 deletion tools/spotters/ec2.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import provider from "../../data/providers/ec2.js";
const asset = "ec2";

const spotter = async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.goto(
"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html"
Expand Down
2 changes: 1 addition & 1 deletion tools/spotters/imperva.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import provider from "../../data/providers/imperva.js";
const asset = "imperva";

const spotter = async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.goto("https://status.imperva.com/");
const data = await page.$eval(
Expand Down
2 changes: 1 addition & 1 deletion tools/spotters/keycdn.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import provider from "../../data/providers/keycdn.js";
const asset = "keycdn";

const spotter = async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.goto("https://status.keycdn.com/");
const data = await page.$eval(
Expand Down
2 changes: 1 addition & 1 deletion tools/spotters/lightsail.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import provider from "../../data/providers/lightsail.js";
const asset = "lightsail";

const spotter = async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.goto(
"https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-regions-and-availability-zones-in-amazon-lightsail"
Expand Down
2 changes: 1 addition & 1 deletion tools/spotters/linode.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import provider from "../../data/providers/linode.js";
const asset = "linode";

const spotter = async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.goto("https://status.linode.com/");
const data = await page.$eval(
Expand Down
2 changes: 1 addition & 1 deletion tools/spotters/stackpath.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import provider from "../../data/providers/stackpath.js";
const asset = "stackpath";

const spotter = async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.goto("https://status.stackpath.com/");
const data = await page.$eval(
Expand Down
2 changes: 1 addition & 1 deletion tools/spotters/upcloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import provider from "../../data/providers/upcloud.js";
const asset = "upcloud";

const spotter = async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.goto("https://status.upcloud.com/");
const data = await page.$eval(
Expand Down
2 changes: 1 addition & 1 deletion tools/spotters/vercel.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import provider from "../../data/providers/vercel.js";
const asset = "vercel";

const spotter = async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.goto("https://vercel.com/docs/edge-network/regions");
const data = await page.$eval(
Expand Down
2 changes: 1 addition & 1 deletion tools/spotters/vultr.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import provider from "../../data/providers/vultr.js";
const asset = "vultr";

const spotter = async () => {
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.goto("https://status.vultr.com/");
const data = await page.$eval(
Expand Down

0 comments on commit cfbbbeb

Please sign in to comment.