Commit Graph

2345 Commits

Author SHA1 Message Date
ilya-sharonov
edb01972b9
fix: updated troubleshooting.md to meet latest dependencies changes (#7656) 2021-10-08 19:09:04 +00:00
David Barton
9a6749f4b4
docs: remove try-puppeteer.appspot,com link (#7660) 2021-10-08 16:21:57 +00:00
dependabot[bot]
a9c8a7f885
chore(deps-dev): bump @commitlint/config-conventional (#7651)
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint) from 11.0.0 to 13.2.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v13.2.0)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Scheffler <janscheffler@chromium.org>
2021-10-08 16:03:57 +00:00
dependabot[bot]
8a985b8c7e
chore(deps-dev): bump eslint-plugin-prettier from 3.4.0 to 4.0.0 (#7653)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.4.0 to 4.0.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/commits/v4.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Scheffler <janscheffler@chromium.org>
2021-10-08 15:44:22 +00:00
Jan Scheffler
b6ffc8999c
chore: keep ff unit tests on windows from blocking ci (#7658) 2021-10-08 15:23:06 +00:00
dependabot[bot]
6db4f8e89f
chore(deps-dev): bump @types/ws from 7.4.4 to 8.2.0 (#7654)
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 7.4.4 to 8.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)

---
updated-dependencies:
- dependency-name: "@types/ws"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Scheffler <janscheffler@chromium.org>
2021-10-08 14:01:14 +00:00
Jack Franklin
32300efccd
chore: reduce docusaurus versions that we generate (#7657)
The Docusaurus process has been OOMing on the bots; this is a problem
we'll want to fix properly when we are shipping the new docs fully, as
we want to generate docs for old versions; but for now whilst we're not
fully pushing users to this site, we can just generate one version and
not worry about multiples.

This commit also bumps the version of Docusaurus to the latest beta
version.
2021-10-08 13:39:49 +00:00
dependabot[bot]
8fbb1f3fdf
chore(deps): bump unbzip2-stream from 1.3.3 to 1.4.3 (#7652)
Bumps [unbzip2-stream](https://github.com/regular/unbzip2-stream) from 1.3.3 to 1.4.3.
- [Release notes](https://github.com/regular/unbzip2-stream/releases)
- [Commits](https://github.com/regular/unbzip2-stream/commits)

---
updated-dependencies:
- dependency-name: unbzip2-stream
  dependency-type: direct:production
  update-type: version-update:semver-minor
...
2021-10-08 14:20:02 +02:00
dependabot[bot]
a98d103d62
chore(deps-dev): bump standard-version from 9.3.0 to 9.3.1 (#7655)
Bumps [standard-version](https://github.com/conventional-changelog/standard-version) from 9.3.0 to 9.3.1.
- [Release notes](https://github.com/conventional-changelog/standard-version/releases)
- [Changelog](https://github.com/conventional-changelog/standard-version/blob/master/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/standard-version/compare/v9.3.0...v9.3.1)

---
updated-dependencies:
- dependency-name: standard-version
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-08 13:45:34 +02:00
Henrik Skupin
5c592913a8
chore: ignore stdout when dumpio isn't used (#7644)
When the browser child process has logging enabled
and output on stdout isn't constantly processed,
the brower process is about to freeze.

To avoid such a situation at least the stdout
pipe shouldn't be set by default but only if
dumpio is enabled.

Co-authored-by: Jan Scheffler <janscheffler@chromium.org>
2021-10-07 21:43:57 +00:00
Tomas Junnonen
b20c2bfa24
fix: add webp to screenshot quality option allow list (#7631)
This allows passing through the screenshot quality option from Puppeteer to Chrome
when using the WebP image format
2021-10-07 21:15:24 +00:00
dependabot[bot]
28861299a4
chore(deps-dev): bump husky from 4.3.8 to 7.0.2 (#7634)
Bumps [husky](https://github.com/typicode/husky) from 4.3.8 to 7.0.2.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v4.3.8...v7.0.2)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-07 19:44:13 +00:00
dependabot[bot]
6dc8dc7053
chore(deps-dev): bump @commitlint/cli from 11.0.0 to 13.2.0 (#7635)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint) from 11.0.0 to 13.2.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v13.2.0)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-07 21:29:17 +02:00
dependabot[bot]
1ff6e0ff2e
chore(deps-dev): bump eslint from 7.26.0 to 7.32.0 (#7636)
Bumps [eslint](https://github.com/eslint/eslint) from 7.26.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.26.0...v7.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Scheffler <janscheffler@chromium.org>
2021-10-07 18:04:20 +00:00
dependabot[bot]
3aebd4f7bb
chore(deps): bump debug from 4.3.1 to 4.3.2 (#7637)
Bumps [debug](https://github.com/visionmedia/debug) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/visionmedia/debug/releases)
- [Commits](https://github.com/visionmedia/debug/compare/4.3.1...4.3.2)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-07 19:48:19 +02:00
Jan Scheffler
2d37430838
chore: update types for JSHandle (#7650)
Closes #7583
2021-10-07 16:04:08 +00:00
dependabot[bot]
b871d5dbb6
chore(deps-dev): bump @types/rimraf from 2.0.2 to 3.0.2 (#7649)
Bumps [@types/rimraf](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/rimraf) from 2.0.2 to 3.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/rimraf)

---
updated-dependencies:
- dependency-name: "@types/rimraf"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Scheffler <janscheffler@chromium.org>
2021-10-07 14:40:23 +00:00
dependabot[bot]
583c39f425
chore(deps-dev): bump @types/sinon from 9.0.11 to 10.0.4 (#7648)
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 9.0.11 to 10.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon)

---
updated-dependencies:
- dependency-name: "@types/sinon"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Scheffler <janscheffler@chromium.org>
2021-10-07 15:18:44 +02:00
dependabot[bot]
7c7b49777a
chore(deps): bump progress from 2.0.1 to 2.0.3 (#7646)
Bumps [progress](https://github.com/visionmedia/node-progress) from 2.0.1 to 2.0.3.
- [Release notes](https://github.com/visionmedia/node-progress/releases)
- [Changelog](https://github.com/visionmedia/node-progress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/visionmedia/node-progress/commits)

---
updated-dependencies:
- dependency-name: progress
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Scheffler <janscheffler@chromium.org>
2021-10-07 14:22:33 +02:00
dependabot[bot]
18609b6030
chore(deps-dev): bump @types/mocha from 7.0.2 to 9.0.0 (#7645)
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 7.0.2 to 9.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha)

---
updated-dependencies:
- dependency-name: "@types/mocha"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-07 10:32:57 +00:00
Henrik Skupin
e7f82626ca
chore: disable certain Fission features for Firefox (#7610) 2021-10-07 12:13:54 +02:00
David Barton
7cc22c7629
docs: add warning about version of try-puppeteer.appspot.com (#7639)
The URL https://try-puppeteer.appspot.com/ is mentioned around the top of `README.md` even if it is running a very outdated version (v1.4.0). This change adds a warning to inform users about this.
2021-10-07 09:27:56 +00:00
dependabot[bot]
c8a95a12b1
chore(deps-dev): bump @microsoft/api-documenter from 7.13.8 to 7.13.58 (#7642)
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack) from 7.13.8 to 7.13.58.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-documenter_v7.13.8...@microsoft/api-documenter_v7.13.58)

---
updated-dependencies:
- dependency-name: "@microsoft/api-documenter"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-07 08:51:14 +00:00
Philip Jägenstedt
18651c5fd8
chore: configure Dependabot (#7620) 2021-10-06 13:08:26 +02:00
Darío Kondratiuk
51229c12f1
docs(page): add missing docs to emulateCPUThrottling (#7630)
The text was taken from the protocol.
2021-10-05 07:49:30 +00:00
Edgard Lorraine Messias
d0cb9436a3
fix(page): fix page.off method for request event (#7624)
This patch fixes page.off for request event

Closes: #7572
2021-10-04 06:59:46 +00:00
Philip Jägenstedt
30ac9d168d
chore: bump node-fetch from 2.6.1 to 2.6.5 (#7619)
This is the last release before 3.0.0.

This is a mitigation for the issue described in https://github.com/puppeteer/puppeteer/issues/7239#issuecomment-932044494.
2021-10-04 06:40:30 +00:00
Mikkel Snitker
fd607b1095
chore: propagate 'Invalid header' errors (#7020)
Enable developers to handle 'Invalid header' errors instead of hiding them to make sure they can address them properly.
Co-authored-by: Jan Scheffler <janscheffler@chromium.org>
2021-10-04 06:18:03 +00:00
Darío Kondratiuk
327282e047
docs: fix drag and drop docs (#7617) 2021-10-02 11:01:44 +02:00
Jan Scheffler
044865eff7
chore: update example (#7616) 2021-09-30 09:33:24 +00:00
Josh Grime
44c9ec67c5
fix(page): fallback to default in exposeFunction when using imported module (#6365) 2021-09-29 18:32:49 +02:00
s
b4ba9c803d
chore: fix typings for ElementHandle.screenshot() options (#7602) 2021-09-29 15:46:57 +00:00
Jan Scheffler
a271145b06
feat: add initiator to HTTPRequest (#7614)
Co-Authored-By: atersolis <atersolis@atersolis.net>
2021-09-29 15:14:21 +00:00
Nadhir
eebf452d38
fix: add support for relative install paths to BrowserFetcher (#7613)
This patch fixes the BrowserFetcher._getFolderPath method so that it supports relative download paths using PUPPETEER_DOWNLOAD_PATH or npm config

Issues: #7592
2021-09-29 14:21:38 +00:00
Tan Li Hau
26145e9a24
feat: add custom debugging port option (#4993) 2021-09-29 16:05:18 +02:00
Darío Kondratiuk
7069cfedda
test: remove duplicated test on jshandle.spec.ts (#7606)
`should work with primitives` is a duple of `should use the same JS wrappers`
2021-09-28 09:26:42 +00:00
Jan Scheffler
113489d3b5
fix(launcher): launcher.launch() should pass 'timeout' option #5180 (#7596)
Co-authored-by: Bob Jamison <bob.jamison@pearson.com>
2021-09-27 10:01:35 +02:00
dmitrysteblyuk
f2e19276ac
chore: add hared TaskQueue for page.screenshot() again (#6714) 2021-09-23 14:37:35 +02:00
Nitin Kumar
149d88fe20
chore: create PULL_REQUEST_TEMPLATE (#6988) 2021-09-23 08:58:39 +00:00
Kiko Beats
b1f6e8692b
feat: allow to customize tmpdir (#7243) 2021-09-23 09:26:00 +02:00
Alex Rudenko
7341d9fadd
fix: request an animation frame to fix flaky clickablePoint test (#7587)
Sometimes an element has not been layed out yet and, in this case,
clickablePoint fails because backend cannot compute content quads.

Co-authored-by: Jan Scheffler <janscheffler@chromium.org>
2021-09-22 12:48:24 +02:00
Jan Scheffler
df36a618f7
chore: bump version to v10.4.0-post (#7588) 2021-09-22 07:22:32 +02:00
Jan Scheffler
5631d3aebc
chore(release): mark v10.4.0 (#7586) 2021-09-21 17:29:27 +02:00
Jonathan Church
43a9268325
feat: add webp to screenshot options (#7565) 2021-09-21 14:26:20 +00:00
Alex Rudenko
8451951483
feat(page): mark page.client() as internal (#7585)
This PR marks the .client() method as internal since
we don't encourage our users to use it.
2021-09-21 13:20:02 +00:00
Alex Rudenko
99ca842124
feat(page): expose page.client() (#7582)
Puppeteer already allows creating a new CDP session
via target.createCDPSession but there is no way
to get access to any existing session to send
some additional commands.
2021-09-21 07:39:47 +00:00
Alex Rudenko
2b5c0019dc
feat: add ability to specify offsets for JSHandle.click (#7573)
Until now, the click would be always sent to the middle
point of the target element. With this change, one can define
offsets relative to the border box of the elements and click
different areas of an element.
2021-09-20 09:01:32 +00:00
Jan Scheffler
7316086941
feat: extend husky checks (#7574) 2021-09-20 07:10:53 +00:00
Joone Hur
8e45a1c882
feat: add proxy and bypass list parameters to createIncognitoBrowserContext (#7516)
Example:

(async () => {
  const browser = await puppeteer.launch();
  const context = await browser.createIncognitoBrowserContext('myproxy.com:3128');
  const page = await context.newPage()
  await page.authenticate({username: 'foo', password: 'bar' });
  await page.goto('https://google.com');
  await browser.close();
})();

Issue: #678
2021-09-18 11:56:05 +02:00
Max White
eda5171279
feat: add durableStorage to allowed permissions (#5295) 2021-09-16 10:35:36 +00:00