0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Nikolay Vitkov
bb37df5f64
docs: add DeviceRequestPrompt documentation () 2023-03-27 13:16:51 +02:00
Alex Rudenko
510b36c500
fix: implement protocol-level timeouts () 2023-03-21 11:53:13 +00:00
jrandolf
56f99f7b10
refactor: migrate to iterator-based query handlers () 2023-02-14 13:31:30 -08:00
jrandolf
eb138635d6
fix: fix circularity on JSHandle interface () 2023-02-13 11:25:07 -08:00
jrandolf
c7a063a152
feat: add element validation ()
This PR adds a method to ElementHandle that validates the tag type of
that handle and returns it.

Fixed: , 
2022-12-19 13:25:56 +01:00
Alex Rudenko
1668d47b2f
docs: various doc improvements ()
See commits for details.

Closes , , , , , , , , 
2022-12-09 13:57:39 +01:00
Alex Rudenko
30c6b13eec
chore: re-export all exports ()
Adds index files to subfolders and removes generation of types.ts in
puppeteer-core.
2022-11-10 17:11:18 +01:00
jrandolf
f07ad2c661
fix: update documentation on configuring puppeteer ()
This PR updates the docs regarding configuring puppeteer. In addition,
some changes have been made to the documentation generator to show
default values on the documentation site.

Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
2022-10-24 09:07:05 +02:00
jrandolf
ec201744f0
feat: use configuration files ()
This PR adds configurations files to `puppeteer`'s methods for
configuration. Under the hood, `puppeteer` relies on
https://www.npmjs.com/package/cosmiconfig which resolves several formats
of configuration:

- a `puppeteer` property in package.json
- a `.puppeteerrc` file in JSON or YAML format
- a `.puppeteerrc.json`, `.puppeteerrc.yaml`, `.puppeteerrc.yml`,
`.puppeteerrc.js`, or `.puppeteerrc.cjs` file
- a `puppeteer.config.js` or `puppeteer.config.cjs` CommonJS module
exporting an object

Documentation will be added later.

Fixed: 
2022-10-21 15:09:21 +02:00
jrandolf
1847704789
fix!: refactor custom query handler API ()
This PR removes the deprecated query selector API from the `puppeteer`
instance. Direct imports of the query selector API have also been
deprecated and users are now expected to use the static methods defined
on `Puppeteer`.
2022-10-10 16:01:09 +02:00
jrandolf
87c08fd86a
fix!: remove puppeteer.devices in favor of KnownDevices ()
This PR removes the deprecated `puppeteer.devices` in favor of a new
exported object `KnownDevices`. `devices` can also be exported, but has
been deprecated.
2022-10-10 15:30:12 +02:00
jrandolf
41d0122b94 fix!: deprecate indirect network condition imports () 2022-10-06 23:52:58 +02:00
jrandolf
9f4f43a28b fix!: deprecate indirect error imports () 2022-10-06 23:52:51 +02:00
jrandolf
2f33237d04
fix!: internalize execution context () 2022-08-25 17:02:44 +02:00
jrandolf
b5da718e2e
fix: deprecate ExecutionContext () 2022-08-16 08:22:45 +02:00
jrandolf
a238f5758d
chore: refactor JSHandle and ExecutionContext () 2022-08-11 11:45:35 +02:00
jrandolf
d6a88a9768
chore: refactor FrameManager and fix docs () 2022-08-10 23:34:29 +02:00
jrandolf
5cf9b4de8d
feat: use an xpath query handler () 2022-08-04 15:45:21 +02:00
jrandolf
5ff205dc8b
fix: extends ElementHandle to Nodes ()
* fix: extends `ElementHandle` to `Node`s ()
2022-07-06 09:05:37 +02:00
jrandolf
b5a345b06b
chore: format docs () 2022-07-05 15:41:43 +02:00
jrandolf
45eb2c607f
chore: remove docusaurus metadata from README.md () 2022-07-05 14:42:31 +02:00
jrandolf
066f440ba7
feat: add documentation () 2022-07-01 11:52:39 +00:00