Commit Graph

389 Commits

Author SHA1 Message Date
Alex Rudenko
c2d3488ad8
fix: specify the context id when adding bindings (#10366) 2023-06-13 10:17:48 +02:00
Alex Rudenko
903afc3715
chore: implement acceptInsecureCerts and version for BiDi (#10365) 2023-06-13 10:17:23 +02:00
jrandolf
35aedc0dbb
feat: add reset to mouse (#10340) 2023-06-12 17:59:28 +00:00
Nikolay Vitkov
9aee41a53d
chore: run more BiDi test (#10355) 2023-06-12 14:50:30 +02:00
Alex Rudenko
ba28724952
fix: Locator.scroll in race (#10363) 2023-06-12 12:07:16 +00:00
Nikolay Vitkov
a31231ef54
chore: implement common functions for BiDi (#10345) 2023-06-12 11:32:19 +02:00
release-please[bot]
d89072a368
chore: release main (#10298)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-06-12 08:11:43 +00:00
Alex Rudenko
edb03d695b
chore: add a11y to bidi over bidi+ (#10338) 2023-06-07 13:54:09 +02:00
Nikolay Vitkov
3552d97360
chore: update dependencies (#10336) 2023-06-07 11:17:31 +00:00
Alex Rudenko
9c35e9ab1f
feat: implement Locator.race (#10337) 2023-06-07 12:45:02 +02:00
browser-automation-bot
60acefc1d6
fix: roll to Chrome 114.0.5735.90 (r1135570) (#10329) 2023-06-07 06:32:32 +00:00
Nikolay Vitkov
0371beebba
chore: $ and $$ BiDi support (#10318) 2023-06-06 12:39:54 +00:00
Alex Rudenko
dea71bac40
chore: stop disabling DIPS (#10326) 2023-06-06 11:57:48 +00:00
Alex Rudenko
1d43e571d1
chore: refactor locator options (#10325) 2023-06-06 13:03:32 +02:00
Alex Rudenko
b81b019083
chore: mark Locator constructor as private (#10322) 2023-06-06 11:51:34 +02:00
jrandolf
bc0b04beef
fix: ensure stack trace contains one line (#10317) 2023-06-06 07:11:46 +00:00
Nikolay Vitkov
793a371837
refactor: Tracing uses deferred (#10315) 2023-06-05 11:34:53 +00:00
Alex Rudenko
1f978f5fc5
feat: implement Locators (#10305) 2023-06-02 17:46:10 +00:00
Alexandra Borovova
e8d044cb8d
fix: send capabilities property in session.new command (#10311) 2023-06-02 17:37:25 +02:00
Nikolay Vitkov
4d0dbbc517
feat: add page.removeExposedFunction (#10297) 2023-06-02 14:08:36 +02:00
Alex Rudenko
021402d136
feat(chrome): roll to Chrome 114.0.5735.45 (r1135570) (#10302) 2023-06-02 09:12:31 +00:00
Nikolay Vitkov
9abd48a062
fix: content() not showing comments outside html tag (#10293) 2023-06-01 21:51:16 +02:00
Thiago Perrotta
27db1eb4f4
docs: add webp to captureScreenshot.format (#10295) 2023-06-01 15:49:27 +00:00
Nikolay Vitkov
74becdb6a0
chore: add browser and browserContext methods to Page (#10290) 2023-06-01 11:04:36 +00:00
Nikolay Vitkov
39e9737232
refactor: Deferred to a class (#10282) 2023-05-31 23:36:19 +02:00
release-please[bot]
5fc136eec1
chore: release main (#10281)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-31 13:09:47 +00:00
Nikolay Vitkov
6923c6b3de
chore: simplify waitWithTimeout (#10278) 2023-05-31 14:48:51 +02:00
Nikolay Vitkov
6f8ea5764d
chore: add Page.reload for BiDi (#10274) 2023-05-31 13:13:34 +02:00
Nikolay Vitkov
3fdad21744
chore: update Docs dependencies (#10275) 2023-05-31 09:30:22 +00:00
Nikolay Vitkov
e61d9cbb4b
chore: refactor waitForNetworkIdle + waitForEvent (#10277) 2023-05-31 09:32:16 +02:00
Alex Rudenko
54d6192262
chore: add methods to configure locators (#10273) 2023-05-30 13:20:00 +00:00
Nikolay Vitkov
b03acac30f
chore: add support for waitForNetworkIdle (#10261) 2023-05-30 11:07:55 +00:00
Alex Rudenko
50e72a4d11
fix: bind trimCache to the instance (#10270) 2023-05-30 09:10:45 +00:00
Nikolay Vitkov
a94dbceade
chore: add Page/Frame title method (#10260) 2023-05-30 08:36:22 +00:00
Nikolay Vitkov
39935c8a40
refactor: use Deferred for session close (#10258) 2023-05-30 09:03:42 +02:00
Nikolay Vitkov
f342c26d95
chore: add WaitForRequest and WaitForResponse (#10257) 2023-05-26 14:50:00 +02:00
Alex Rudenko
ff22ba8679
refactor: rename DeferredPromise to Deferred (#10255) 2023-05-26 09:42:22 +00:00
Junyan
b5a124ff73
feat: Page.removeScriptToEvaluateOnNewDocument (#10250)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-05-26 07:56:45 +00:00
Nikolay Vitkov
031b021703
chore: bump TS target to ES2021 (#10247) 2023-05-26 07:37:05 +00:00
Alex Rudenko
c9cca17833
refactor: make deferred promises more robust to use (#10245) 2023-05-26 08:02:17 +02:00
release-please[bot]
b1308d1c95
chore: release main (#10228)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-25 04:52:07 +00:00
Nikolay Vitkov
0cac94c0d6
chore: EventEmitter should mimic NodeJS' one (#10241) 2023-05-24 17:57:56 +02:00
Nikolay Vitkov
557ec24cfc
fix: stacktraces should not throw errors (#10231) 2023-05-24 14:42:08 +02:00
Nikolay Vitkov
faab64e1f3
chore: use Chrome Canary for BiDi testing (#10222) 2023-05-24 11:43:45 +00:00
Nikolay Vitkov
49360eac10
chore: fixes expectation for test in Firefox (#10239) 2023-05-24 11:56:24 +02:00
Alex Rudenko
8903d2f6ec
chore: fix uncaught error (#10234) 2023-05-23 15:19:12 +02:00
Alex Rudenko
9ca9bbf259
chore: implement fill for locators (#10220) 2023-05-23 13:55:12 +02:00
Junyan
81f73a55f3
feat: Page.setBypassServiceWorker (#10229)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-05-23 13:51:32 +02:00
Nikolay Vitkov
070ee03d31
chore: network module for BiDi (#10159) 2023-05-22 14:52:31 +02:00
Alex Rudenko
87ca58f97a
chore: implement locators for scroll and hover (#10219) 2023-05-22 09:57:51 +00:00
release-please[bot]
7487598433
chore: release main (#10201)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-22 08:07:48 +00:00
Nikolay Vitkov
bcf5fd87ae
fix: ElementHandle dragAndDrop should fail when interception is disabled (#10209) 2023-05-19 15:10:43 +02:00
Alex Rudenko
9cba24a961
refactor: make it easier to extend trimCache (#10202) 2023-05-17 16:10:51 +02:00
Alex Rudenko
1ad32ec994
feat: add an ability to trim cache for Puppeteer (#10199) 2023-05-17 15:21:40 +02:00
Alex Rudenko
dab77d0c06
refactor: use InitializationStatus consistently (#10192) 2023-05-17 10:13:17 +02:00
Alex Rudenko
5a5e4d46a3
refactor: change target promises to be deferred (#10191) 2023-05-16 15:18:22 +00:00
Alex Rudenko
372d12172b
refactor: move target updates to the target manager (#10189) 2023-05-16 11:34:10 +00:00
dependabot[bot]
2e289a7e87
chore(deps): Bump cross-fetch from 3.1.5 to 3.1.6 (#10187)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-16 09:40:30 +00:00
release-please[bot]
1e0cb1a164
chore: release main (#10185)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-16 07:42:00 +00:00
Nikolay Vitkov
2808240c71
chore: implement Frames for BiDi (#10121) 2023-05-15 16:39:47 +02:00
Alex Rudenko
609584a8b8
refactor: add WorkerTarget and OtherTarget (#10181) 2023-05-15 11:12:23 +00:00
jrandolf
d0c68ff002
fix: use encode/decodeURIComponent (#10183) 2023-05-15 12:09:43 +02:00
Alex Rudenko
f342a129e8
refactor: introduce an internal PageTarget subclass (#10167) 2023-05-12 11:51:28 +02:00
release-please[bot]
671fa546f1
chore: release main (#10151)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-11 19:41:41 +00:00
Alex Rudenko
4398f66f28
fix: downloadPath should be used by the install script (#10163) 2023-05-11 17:09:24 +00:00
jrandolf
317fa732f9
feat: implement detailed errors for evaluation (#10114) 2023-05-10 10:23:29 +02:00
release-please[bot]
75a50257e0
chore: release main (#10143)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-08 15:15:39 +00:00
Nikolay Vitkov
baf2a86fdd
chore: update puppeteer dependencies (#10141) 2023-05-08 14:21:34 +02:00
release-please[bot]
3a6569e8ef
chore: release main (#10137)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-05 13:25:47 +02:00
Alex Rudenko
9a1aff8a4c
chore: implement locators with a click (#10009)
Co-authored-by: jrandolf <101637635+jrandolf@users.noreply.github.com>
2023-05-05 09:11:16 +00:00
Alex Rudenko
9758cae029
fix: rename PUPPETEER_DOWNLOAD_HOST to PUPPETEER_DOWNLOAD_BASE_URL (#10130) 2023-05-05 10:32:58 +02:00
jrandolf
9e21d30f75
chore: update typescript (#10135) 2023-05-05 05:46:17 +00:00
release-please[bot]
ead413b560
chore: release main (#10117)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-03 18:37:42 +02:00
Alex Rudenko
19f43348a8
feat(chrome): roll to Chrome 113.0.5672.63 (r1121455) (#10116) 2023-05-03 11:01:10 +02:00
release-please[bot]
61605a0ed9
chore: release main (#10108)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-02 16:56:03 +00:00
Alex Rudenko
575f00a31d
fix: use AbortSignal.throwIfAborted (#10105) 2023-05-02 14:08:05 +02:00
Nikolay Vitkov
a856f8ff76
docs: fix link in JSHandle (#10106) 2023-05-02 09:48:44 +02:00
Alex Rudenko
7405d6585a
feat!: drop support for node14 (#10019) 2023-05-02 09:37:46 +02:00
Alex Rudenko
df4d60c187
feat!: switch to Chrome for Testing instead of Chromium (#10054)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-05-02 08:53:40 +02:00
Alex Rudenko
1b125094b9
chore: implement defaultViewport (#10089) 2023-04-26 15:56:23 +02:00
Alex Rudenko
dd8c229a4f
chore: add bidi+ emulation command (#10087) 2023-04-26 14:37:31 +02:00
Nikolay Vitkov
e4b57c279a
chore: add EsLint rule for no-floating-promises (#10084) 2023-04-26 09:53:02 +00:00
Alex Rudenko
4dd4cb9292
feat: add AbortSignal to waitForFunction (#10078)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-04-26 10:50:08 +02:00
release-please[bot]
159513c8db
chore: release main (#10075)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-04-25 16:59:34 +02:00
Nikolay Vitkov
cfe9bbc852
fix: implement flag for disabling headless warning (#10073) 2023-04-25 16:30:46 +02:00
jrandolf
8124a7d5bf
fix: implement click count (#10069) 2023-04-25 13:28:47 +02:00
release-please[bot]
4815676f21
chore: release main (#10059)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-04-24 13:31:02 +02:00
jrandolf
a6eaac4c39
fix: infer last pressed button in mouse move (#10067) 2023-04-24 13:14:33 +02:00
Nikolay Vitkov
513f658989
chore: bump BiDi Mapper to latest (#10060) 2023-04-24 08:25:39 +02:00
jrandolf
e5d6864056
docs: improve docs on file upload (#10058) 2023-04-21 14:15:19 +02:00
Nikolay Vitkov
23d6a95cf1
feat: add warn for headless: true (#10039)
Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2023-04-21 14:07:10 +02:00
release-please[bot]
b64953ef37
chore: release main (#10056)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-04-21 10:00:59 +00:00
Alex Rudenko
704624eb20
fix: move fs.js to the node folder (#10055) 2023-04-21 09:45:04 +02:00
release-please[bot]
8e8c06ac7d
chore: release main (#10052)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-04-20 16:05:08 +00:00
Alex Rudenko
8283823cb8
fix: continue requests without network instrumentation (#10046) 2023-04-20 12:28:56 +00:00
jrandolf
690aec1b5c
fix: install bindings once (#10049) 2023-04-20 08:59:36 +02:00
jrandolf
bbf2c0a8ec
chore: use AbortSignal instead of AbortController (#10048) 2023-04-20 08:18:48 +02:00
Nikolay Vitkov
5547e43829
refactor: use deferred promise (#10044) 2023-04-19 15:28:38 +02:00
zeeker999
c12512822a
feat(webworker): expose WebWorker.client (#10042)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-04-19 11:00:08 +02:00
Marcus Otterström
28154eff6f
docs: Document options (#10035)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-04-19 08:19:50 +00:00
Alex Rudenko
9109b76276
feat: support AbortController in waitForSelector (#10018) 2023-04-18 16:45:10 +00:00
release-please[bot]
fd08e6ad22
chore: release main (#10031)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-04-17 13:15:28 +02:00
jrandolf
34db39e447
fix: improve mouse actions (#10021) 2023-04-17 10:56:51 +02:00
Alex Rudenko
e3f8ff23c3
chore: fix build on win (#10022) 2023-04-14 10:51:35 +02:00
release-please[bot]
fe0c74bd52
chore: release main (#10003)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-04-13 14:26:52 +02:00
Alex Rudenko
26c81b7408
feat: add ElementHandle.isVisible and ElementHandle.isHidden (#10007) 2023-04-12 11:19:46 +02:00
Alex Rudenko
0d556a71d6
feat: add ElementHandle.scrollIntoView (#10005) 2023-04-12 07:17:18 +02:00
Alex Rudenko
656b562c74
fix: make isIntersectingViewport work with SVG elements (#10004) 2023-04-11 14:05:10 +00:00
jrandolf
ab27f738c9
perf: amortize handle iterator (#10002) 2023-04-11 13:36:03 +00:00
Alex Rudenko
1eca5663f1
docs: fix typo (#10000) 2023-04-11 09:21:15 +00:00
release-please[bot]
823a9df442
chore: release main (#9991)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-04-06 17:11:16 +00:00
CanadaHonk
c09764e4c4
fix: add filter to setDiscoverTargets for Firefox (#9693) 2023-04-06 16:35:12 +00:00
release-please[bot]
c807fe7145
chore: release main (#9989)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-04-06 16:47:26 +02:00
Alex Rudenko
e7265c9aa9
fix: ignore extraInfo events if the response is served from cache (#9983) 2023-04-06 12:29:10 +02:00
Nikolay Vitkov
327febe2c9
chore: importFs handles it's own error (#9971) 2023-04-04 17:29:29 +02:00
Nikolay Vitkov
0b1e20cf5b
refactor: prefer use of DeferPromise (#9969) 2023-04-04 14:10:26 +00:00
Alex Rudenko
c8f6adf9f3
refactor: use browsers for launchers (#9937) 2023-04-04 13:29:21 +00:00
release-please[bot]
006086bc83
chore: release main (#9962)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-04-03 10:23:08 +02:00
jrandolf
728547d460
fix: use shadowRoot for tree walker (#9950) 2023-03-31 17:19:59 +02:00
Nikolay Vitkov
1396274477
docs: remove some redundant instances of @returns (#9943) 2023-03-30 11:54:00 +00:00
Nikolay Vitkov
e0eef01f1c
docs: use code block for single values (#9936) 2023-03-29 15:27:29 +02:00
release-please[bot]
57e11b320c
chore: release main (#9932)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-29 07:39:41 +00:00
Nikolay Vitkov
a99abc9a2f
docs: remove unhelpful api pages (#9933) 2023-03-28 18:02:00 +00:00
Alex Rudenko
4465f4bd19
fix: increase the default protocol timeout (#9928) 2023-03-28 12:35:13 +00:00
Nikolay Vitkov
c4e1675589
chore: fix BiDi to use cm (#9926) 2023-03-28 11:57:58 +00:00
Nikolay Vitkov
3866e462bc
chore: add basic screenshot to BiDi (#9923) 2023-03-28 13:02:59 +02:00
Nikolay Vitkov
bb37df5f64
docs: add DeviceRequestPrompt documentation (#9918) 2023-03-27 13:16:51 +02:00
Nikolay Vitkov
95c99e84b8
chore: add PDF print for BiDi (#9914) 2023-03-27 11:39:40 +02:00
release-please[bot]
dcfec6dbbd
chore: release main (#9863)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-24 11:22:06 +01:00
Nikolay Vitkov
022c909326
fix: viewport.deviceScaleFactor can be set to system default (#9911) 2023-03-24 10:56:52 +01:00
Alex Rudenko
de86cafe3c
chore: reduce default timeout to 10s (#9906) 2023-03-24 09:35:45 +01:00
Nikolay Vitkov
48e7bdd75e
chore: use events rather than commands (#9904) 2023-03-23 17:18:48 +01:00
jrandolf
6c018acf5d
chore: update deep implementation for P selectors (#9908) 2023-03-23 15:46:33 +01:00
Alex Rudenko
f6ef167b0f
chore: validate licenses (#9873) 2023-03-23 10:22:52 +01:00
Alex Rudenko
976684e4e1
chore: remove operations for now (#9899) 2023-03-22 16:56:12 +01:00
Nikolay Vitkov
c6a9404bb4
chore: reuse SetContent across implementations (#9894) 2023-03-22 10:49:39 +01:00
jrandolf
323db305f0
chore: use WeakMap and null for DepthCalculator (#9892) 2023-03-21 14:09:50 +01:00
Alex Rudenko
1f76cdda12
chore: replace rimraf with a helper in BrowserFetcher/Connector (#9890) 2023-03-21 13:41:56 +01:00
Alex Rudenko
510b36c500
fix: implement protocol-level timeouts (#9877) 2023-03-21 11:53:13 +00:00
Nikolay Vitkov
36c029b38d
fix: waitForNavigation issue with aborted events (#9883) 2023-03-21 10:22:57 +01:00
Nikolay Vitkov
3ea15dc395
chore: JavaScript error should produce pageerror events (#9884) 2023-03-21 10:21:48 +01:00
Michael "Z" Goddard
a5149d52f5
feat: add Page.waitForDevicePrompt (#9299)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-03-21 10:21:10 +01:00
dependabot[bot]
3d1dd519ac
chore(deps): Bump ws from 8.12.1 to 8.13.0 (#9831)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 14:49:37 +00:00
Nikolay Vitkov
cb079378bb
chore: add BiDi support for SetContent (#9878) 2023-03-20 14:00:13 +01:00
jrandolf
e6ec9c2958
fix: fallback to CSS (#9876) 2023-03-17 13:23:14 +01:00
jrandolf
9f9394ca42
chore: use parsel (#9865) 2023-03-16 14:41:38 +01:00
Nikolay Vitkov
16b39de5ca
chore: extract HTTP prep for BiDi network module (#9840) 2023-03-15 17:51:34 +01:00
Nikolay Vitkov
eddb1f6ec3
feat(chromium): roll to Chromium 112.0.5614.0 (r1108766) (#9841) 2023-03-15 15:29:44 +01:00
Nikolay Vitkov
17c650b6d1
chore: prefer use of fs/promise to utils/promisify (#9848)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-03-14 18:30:41 +01:00
release-please[bot]
73ca94fe66
chore: release main (#9838)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-14 11:47:24 +01:00