Skip to content

Commit

Permalink
docs(puppeteer): updated variable name (#12334)
Browse files Browse the repository at this point in the history
  • Loading branch information
Biki-das committed Feb 13, 2022
1 parent 0543584 commit ec5c9c6
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions docs/Puppeteer.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class PuppeteerEnvironment extends NodeEnvironment {
}

// connect to puppeteer
this.global.__BROWSER__ = await puppeteer.connect({
this.global.__BROWSER_GLOBAL__ = await puppeteer.connect({
browserWSEndpoint: wsEndpoint,
});
}
Expand Down Expand Up @@ -142,7 +142,7 @@ describe(
() => {
let page;
beforeAll(async () => {
page = await global.__BROWSER__.newPage();
page = await global.__BROWSER_GLOBAL__.newPage();
await page.goto('https://google.com');
}, timeout);

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-25.x/Puppeteer.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class PuppeteerEnvironment extends NodeEnvironment {
}

// connect to puppeteer
this.global.__BROWSER__ = await puppeteer.connect({
this.global.__BROWSER_GLOBAL__ = await puppeteer.connect({
browserWSEndpoint: wsEndpoint,
});
}
Expand Down Expand Up @@ -142,7 +142,7 @@ describe(
() => {
let page;
beforeAll(async () => {
page = await global.__BROWSER__.newPage();
page = await global.__BROWSER_GLOBAL__.newPage();
await page.goto('https://google.com');
}, timeout);

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-26.x/Puppeteer.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class PuppeteerEnvironment extends NodeEnvironment {
}

// connect to puppeteer
this.global.__BROWSER__ = await puppeteer.connect({
this.global.__BROWSER_GLOBAL__ = await puppeteer.connect({
browserWSEndpoint: wsEndpoint,
});
}
Expand Down Expand Up @@ -142,7 +142,7 @@ describe(
() => {
let page;
beforeAll(async () => {
page = await global.__BROWSER__.newPage();
page = await global.__BROWSER_GLOBAL__.newPage();
await page.goto('https://google.com');
}, timeout);

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-27.0/Puppeteer.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class PuppeteerEnvironment extends NodeEnvironment {
}

// connect to puppeteer
this.global.__BROWSER__ = await puppeteer.connect({
this.global.__BROWSER_GLOBAL__ = await puppeteer.connect({
browserWSEndpoint: wsEndpoint,
});
}
Expand Down Expand Up @@ -142,7 +142,7 @@ describe(
() => {
let page;
beforeAll(async () => {
page = await global.__BROWSER__.newPage();
page = await global.__BROWSER_GLOBAL__.newPage();
await page.goto('https://google.com');
}, timeout);

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-27.1/Puppeteer.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class PuppeteerEnvironment extends NodeEnvironment {
}

// connect to puppeteer
this.global.__BROWSER__ = await puppeteer.connect({
this.global.__BROWSER_GLOBAL__ = await puppeteer.connect({
browserWSEndpoint: wsEndpoint,
});
}
Expand Down Expand Up @@ -142,7 +142,7 @@ describe(
() => {
let page;
beforeAll(async () => {
page = await global.__BROWSER__.newPage();
page = await global.__BROWSER_GLOBAL__.newPage();
await page.goto('https://google.com');
}, timeout);

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-27.2/Puppeteer.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class PuppeteerEnvironment extends NodeEnvironment {
}

// connect to puppeteer
this.global.__BROWSER__ = await puppeteer.connect({
this.global.__BROWSER_GLOBAL__ = await puppeteer.connect({
browserWSEndpoint: wsEndpoint,
});
}
Expand Down Expand Up @@ -142,7 +142,7 @@ describe(
() => {
let page;
beforeAll(async () => {
page = await global.__BROWSER__.newPage();
page = await global.__BROWSER_GLOBAL__.newPage();
await page.goto('https://google.com');
}, timeout);

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-27.4/Puppeteer.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class PuppeteerEnvironment extends NodeEnvironment {
}

// connect to puppeteer
this.global.__BROWSER__ = await puppeteer.connect({
this.global.__BROWSER_GLOBAL__ = await puppeteer.connect({
browserWSEndpoint: wsEndpoint,
});
}
Expand Down Expand Up @@ -142,7 +142,7 @@ describe(
() => {
let page;
beforeAll(async () => {
page = await global.__BROWSER__.newPage();
page = await global.__BROWSER_GLOBAL__.newPage();
await page.goto('https://google.com');
}, timeout);

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-27.5/Puppeteer.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class PuppeteerEnvironment extends NodeEnvironment {
}

// connect to puppeteer
this.global.__BROWSER__ = await puppeteer.connect({
this.global.__BROWSER_GLOBAL__ = await puppeteer.connect({
browserWSEndpoint: wsEndpoint,
});
}
Expand Down Expand Up @@ -142,7 +142,7 @@ describe(
() => {
let page;
beforeAll(async () => {
page = await global.__BROWSER__.newPage();
page = await global.__BROWSER_GLOBAL__.newPage();
await page.goto('https://google.com');
}, timeout);

Expand Down

0 comments on commit ec5c9c6

Please sign in to comment.