Commit Graph

117 Commits

Author SHA1 Message Date
Alex Rudenko
3c6f01a31d
feat: support running Puppeteer in extensions (#12459) 2024-05-21 12:41:15 +02:00
Alex Rudenko
0058ad0eb7
docs: example of puppeteer in extension (#12285) 2024-05-16 23:20:02 +08:00
Alex Rudenko
fb0d7252e4
refactor: split entrypoint imports (#12350) 2024-04-29 10:58:20 +00:00
Nikolay Vitkov
efc74a7366
docs: add plugin to format package manager scripts (#12254) 2024-04-11 15:47:14 +00:00
Alex Rudenko
caef7f3184
docs: link to awesome puppeteer (#11956) 2024-02-21 08:08:14 +00:00
Nikolay Vitkov
b2c69fe5bd
build: fix EsLint rule and add fixer (#11826) 2024-02-05 10:26:37 +01:00
Nikolay Vitkov
35e39bfae9
chore: fix EsLint for .mjs (#11629) 2024-01-08 10:02:56 +01:00
Tycho Bokdam
6f7f682e05
docs(examples): Adding in Doczilla to README (#11579) 2024-01-03 11:35:30 +01:00
Nikolay Vitkov
b6c5642cc9
chore: update license headers (#11563) 2024-01-03 10:11:33 +00:00
Douglas Naphas
8626ccc742
docs: Install and build before running examples (#11216) 2023-10-21 19:51:35 +02:00
Douglas Naphas
8c0f590f9e
docs: Un-indent intro sentence that is not a quote (#11210) 2023-10-21 08:22:36 +00:00
Nikolay Vitkov
c356e8f8f5
docs: use bash tag to get better formatting (#10086) 2023-04-26 11:32:33 +02:00
Jefferson Pereira
7b8f80ade8
docs: anchor selector on search example (#9854)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-03-15 14:10:07 +01:00
Thiago Perrotta
b6ffa732ac
docs: fix cross-browser.js example (#9291)
The previous selector is broken as of ~2 months ago, c.f.
https://news.ycombinator.com/item?id=33027700

Changed from:

    <a class="titlelink"></a>

To:

    <span class="titleline">
    <a></a>
    </span>
2022-11-17 13:26:08 +01:00
Renaud Lataguerra
09253ba54d
docs: update examples' README (#9187)
This PR update the examples` `README` file to add Doppio.sh in the services list.
2022-11-02 11:48:27 +01:00
jrandolf
84712cbc28
chore: use Google's TS style guide's format config (#8542) 2022-06-22 15:25:44 +02:00
jrandolf
ce0dd25349
chore: use braces in function bodies (#8525) 2022-06-15 12:42:21 +02:00
jrandolf
e6442dd767
chore: use curly (#8519) 2022-06-14 13:55:35 +02:00
jrandolf
3dae2b4549
chore: remove broken example (#8391) 2022-05-24 14:56:21 +00:00
Maksim Sadym
f7c59223ae
docs: update example to align with the website (#7788)
Update example to align with the website. `news.ycombinator.com` uses class `.titlelink`.
2022-02-16 08:51:20 +01:00
Alex Rudenko
41ab4e9127
fix: typos in documentation (#7968) 2022-02-07 14:03:54 +01:00
Jan Scheffler
044865eff7
chore: update example (#7616) 2021-09-30 09:33:24 +00: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
Talendran
8d1a697fc3
docs(examples): change searching for searchbox to .devsite class (#6301) 2021-09-11 11:02:40 +00:00
Ondra Urban
fbd36a9705
docs(examples): add Apify SDK to scraping section (#5338) 2021-09-11 10:31:59 +00:00
David Barton
c62b02f177
chore: automate prettier in docs (#7014)
Issue: #7012
Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2021-03-23 10:02:34 +01:00
Thomas Chaplin
9275653130
docs(examples): update selector for search example (#6471)
This commit updates the selector used in some examples as it no longer matched the target page’s DOM.

Fixes #6470, fixes #5071.
2020-10-05 06:48:34 +02:00
Maksim Sadym
6f336eb978
feat(OOPIF): debug message in case of iFrame moved to another process (#6432)
Debug message clarifying the problem like `Issue 1060080: Event Network.loadingFinished is not sent when a frame is loaded from another domain`: https://bugs.chromium.org/p/chromium/issues/detail?id=1060080).
It can help users to identify problem with OOPIF easier without digging into the CDP protocol implementation like in the bug `1060080` mentioned above.

To reproduce:
1. Run `DEBUG="puppeteer:frame" NODE_PATH=../ node examples/oopif.js`.
2. Verify the output contains the debug message:
`
puppeteer:frame The frame '...' moved to another session. Out-of-proccess
iframes (OOPIF) are not supported by Puppeteer yet.
https://github.com/puppeteer/puppeteer/issues/2548
`
2020-09-21 13:23:36 +02:00
Jack Franklin
7a4170fe6e
chore: remove top level errors and DeviceDescriptors (#6043)
As far as I can tell these became irrelevant as of v1.15 which added
`puppeteer.errors` and `puppeteer.devices [1]. This is a breaking change
but one that's easily mitigated. We've said that we don't consider
changes to our folder/file structure a breaking change, but we can't
really do that if we have these two top level files that we've
documented.

[1]: e3abb0aa32 (diff-522b24108d7446af4c59873472a90444)
2020-06-19 15:15:13 +02:00
Jack Franklin
8a099a0c2c
docs: replace @return with @returns (#6006)
The former is not understood by TSDoc.
2020-06-12 12:38:24 +02:00
Michael
dc26b8d071
docs(examples): add cucumber-puppeteer-example for integration testing (#5875) 2020-05-18 06:54:53 +02:00
Jack Franklin
4fdb1e3cab
chore: add Prettier (#5825) 2020-05-07 12:54:55 +02:00
Maja Frydrychowicz
d817ae5a4b
fix: update preferred revision after Launcher is created (#5640)
Fixes an edge case where Puppeteer looked for a Chromium revision when launching Firefox.

Allow appropriate Launcher to be instantiated when calling `Puppeteer.connect`.

Add an example of running Firefox.
2020-04-14 18:42:48 +02:00
Andrey Lushnikov
4c48b77503
chore(examples): exclude localhost from proxy bypass list (#3742)
Since Chrome 72 localhost is bypassed by default. Oftentimes
this is not a default behavior in testing scenarios.

Fixes #3711.
2019-01-09 17:25:26 -08:00
Dmitry Sheiko
cdaa604973 docs(examples): adding puppetry tool (#3598) 2018-12-05 13:41:24 -08:00
Andrey Lushnikov
d1105afaf8
Revert "Add Puppeteer Recorder extension to docs" (#3102)
Reverts GoogleChrome/puppeteer#3088

Reason: https://github.com/checkly/puppeteer-recorder/issues/4
2018-08-17 10:51:53 -07:00
Tim Nolet
73c43bebd8 docs: Add Puppeteer Recorder extension to docs (#3088) 2018-08-16 14:48:50 -07:00
Pavel Pomerantsev
26cd16c724 docs(api.md): expand on testing Chrome Extensions (#2893)
Fixes #2823
2018-07-18 19:33:51 -07:00
Anish Karandikar
14b5144923 docs(examples): add link to puppeteer-har (#2643)
References #1916.
2018-05-31 12:07:48 -07:00
Yogesh Singh
e1c40bd776 chore(examples): Change networkidle2 to networkidle0 (#2618)
Switch example to networkidle0 to reduce inconsistency of console messages 

Fixes #2587
2018-05-30 14:17:41 -07:00
Yaniv Efraim
a2a9100248 docs(examples): add a link for jest-puppeteer (#2466) 2018-04-27 23:02:37 -04:00
Eric Bidelman
9a22f64257 docs(readme) : full md link for d.g.c./web docs (#2379) 2018-04-16 11:31:19 -07:00
Eric Bidelman
3b88d0d7c9 docs(readme): add googlechromelabs repo. (#2306) 2018-04-04 14:03:06 -07:00
Tim Nolet
d4f24f1ec5 docs(README): add checkly to list of services (#2209) 2018-03-29 10:54:49 -07:00
Benjamin E. Coe
edc510c152 docs: add documentation referencing puppeteer-to-istanbul (#2135)
Fixes #1768.
2018-03-07 08:49:01 +03:00
Drew Diamantoukos
b275e66594 chore: Spelling and Markdown Consistency (#1998)
- Adding missing language tags to markdown code blocks.
- Fixed various spelling mistakes my IDE complained to me about.
2018-02-08 22:59:46 -05:00
Joel Griffith
e998ac9325 docs(README): Adding in browserless to README (#1962) 2018-02-05 14:39:49 -05:00
JoelEinbinder
f2b6016354 chore: switch to npm from yarn (#1878)
This patch:
- migrates CI to use NPM
- drops lockfiles (`yarn.lock`). Lockfiles are ignored by package
  managers when the package is installed as a dependency, so this makes CI closer to the 
  installation our clients run.
2018-01-22 17:11:10 -08:00
Sergii Rudenko
8c93084316 docs(examples/readme.md): Add one more link to the examples repository (#1807)
This patch adds link to the https://github.com/checkly/puppeteer-examples
2018-01-16 14:05:28 -08:00