Commit Graph

3287 Commits

Author SHA1 Message Date
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
Ron0115
54c4318016
feat: add threshold to Page.isIntersectingViewport (#6497) 2021-09-15 22:56:50 +02:00
Ben Elliott
9399c9786f
fix(install): respect environment proxy config when downloading Firef… (#6577)
Issues: #6573
2021-09-15 19:41:03 +00:00
Yosuke Kurami
cb4470a6d9
feat(coverage): option for raw V8 script coverage (#6454) 2021-09-15 18:54:24 +00:00
Xavier Prud'homme
caa2b732fe
fix(frame): fix Frame.waitFor's XPath pattern detection (#5184)
Up to now, only strings starting with '//' are considered as to XPath selectors. Unfortunately, this is too restricting. This fix allows valid XPath selectors starting with: '/', './', and even '(//*[1])'
2021-09-15 11:45:59 +00:00
Peter Marshall
726cb14003
chore: remove unused tracing category for cpu profiling (#5866) 2021-09-15 11:59:38 +02:00
svenkatreddy
201557f722
docs(examples): add puppeteer-loadtest to Testing (#5173)
Adding puppeteer-loadtest which is used to do load tests on puppeteer scripts.
2021-09-15 08:55:15 +00:00
Jay Deshmukh
3e95c5aa5e
chore: add new resource (#5024) 2021-09-15 10:35:17 +02:00
headlesstesting
6a2bf0aaba
feat: add User-Agent with Puppeteer version to WebSocket request (#5614)
This will add the User-Agent header to WebSocket requests.
2021-09-15 07:40:43 +00:00