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

54 Commits

Author SHA1 Message Date
Alex Rudenko
8aba033dde
feat: experimental WebDriver BiDi support with Firefox ()
Co-authored-by: Jecelyn Yeen <5917927+jecfish@users.noreply.github.com>
2023-11-28 13:07:53 +01:00
Alex Rudenko
4bf2a09a13
fix: mitt types should not be exported () 2023-11-13 13:27:17 +01:00
Nikolay Vitkov
0fe89b7da9
chore: add new UnsupportedOperation Error () 2023-11-09 13:57:33 +01:00
jrandolf
f060d467c0
feat: implement screencasting () 2023-10-06 16:50:39 +02:00
jrandolf
ecd6ac9dfa
chore: implement element screenshot () 2023-09-21 21:21:12 +02:00
jrandolf
cfed7b93ec
fix: make CDPSessionEvent.SessionAttached public () 2023-09-19 17:42:40 +02:00
jrandolf
2292078969
feat: implement BrowserContext.closed () 2023-09-18 20:11:55 +02:00
jrandolf
60582b7fbc
refactor: migrate browsingContext methods to frame () 2023-09-18 14:14:06 +02:00
jrandolf
d088da31b2
docs: improve Browser docs () 2023-09-18 11:05:23 +02:00
jrandolf
09207a71b8
chore: separate code to semantic folders () 2023-09-16 22:56:40 +02:00
jrandolf
9b6f1de8b9
feat: implement typed events () 2023-09-13 15:47:55 +02:00
jrandolf
2401bb46b1
chore: implement moveable () 2023-08-29 22:48:37 +02:00
jrandolf
27636afacf
chore: implement boxModel, contentFrame, and nested frame boundingBox () 2023-08-23 16:58:18 +02:00
jrandolf
6ad92f7f84
feat: implement function locators () 2023-07-27 09:23:28 +02:00
jrandolf
47eecf5bb1
feat: implement Locator.prototype.map () 2023-07-25 16:45:10 +02:00
jrandolf
ede43ca2d3
chore: use RxJS for locator implementation ()
Using RxJS greatly simplifies the control flow for locators and comes with automatic cleanup on failure. It greatly simplifies the `signal` logic and the retry logic.
2023-07-25 12:43:07 +02:00
Alex Rudenko
0e60ce4cec
refactor: move Target to api () 2023-07-21 09:04:14 +02:00
jrandolf
0715ad8281
refactor: move locators to separate files () 2023-07-20 15:06:42 +02:00
Alex Rudenko
6c9306a72e
feat: add autofill support () 2023-07-19 17:42:31 +00:00
jrandolf
c14f9b64a7
chore: implement typed Locators, expects, and internal contexts () 2023-07-19 15:39:38 +00:00
jrandolf
3ba7fba838
chore: implement Bidi keyboard () 2023-06-19 17:44:39 +02:00
jrandolf
39847bd231
refactor: use input API for CDP inputs () 2023-06-19 10:12:43 +02:00
Alex Rudenko
7cb6059bcc
fix: mark CDPSessionOnMessageObject as internal () 2023-06-13 13:53:48 +02:00
Alex Rudenko
1f978f5fc5
feat: implement Locators () 2023-06-02 17:46:10 +00:00
Junyan
b5a124ff73
feat: Page.removeScriptToEvaluateOnNewDocument ()
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-05-26 07:56:45 +00:00
Alex Rudenko
1ad32ec994
feat: add an ability to trim cache for Puppeteer () 2023-05-17 15:21:40 +02:00
jrandolf
317fa732f9
feat: implement detailed errors for evaluation () 2023-05-10 10:23:29 +02:00
Alex Rudenko
575f00a31d
fix: use AbortSignal.throwIfAborted () 2023-05-02 14:08:05 +02:00
Alex Rudenko
df4d60c187
feat!: switch to Chrome for Testing instead of Chromium ()
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-05-02 08:53:40 +02:00
Alex Rudenko
9109b76276
feat: support AbortController in waitForSelector () 2023-04-18 16:45:10 +00:00
jrandolf
34db39e447
fix: improve mouse actions () 2023-04-17 10:56:51 +02:00
Alex Rudenko
1eca5663f1
docs: fix typo () 2023-04-11 09:21:15 +00:00
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