Commit Graph

856 Commits

Author SHA1 Message Date
Nikolay Vitkov
35504ae0e7
refactor: don't expose the deferred (#12130) 2024-03-22 16:57:29 +01:00
Alex Rudenko
d4760317c9
fix: reload should not resolve early on fragment navigations (#12119) 2024-03-21 10:54:57 +00:00
Alex Rudenko
b096ffaa03
fix: support clip in ElementHandle.screenshot (#12115) 2024-03-21 08:16:24 +00:00
dependabot[bot]
93e9acc410
chore(deps-dev): Bump the dev-dependencies group with 3 updates (#12101)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2024-03-20 15:03:14 +00:00
Nikolay Vitkov
388af91e46
chore(webdriver): support for Network interception (#12106) 2024-03-20 13:55:07 +00:00
release-please[bot]
4f9f060408
chore: release main (#12108)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-03-20 09:57:03 +01:00
browser-automation-bot
6f5b3bc9b8
feat: roll to Chrome 123.0.6312.58 (r1262506) (#12110)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2024-03-20 06:57:06 +00:00
Nikolay Vitkov
6ba6bef1b9
fix(webdriver): emit RequestServedFromCache for requests (#12104) 2024-03-19 15:25:33 +00:00
release-please[bot]
9aef7dc5e5
chore: release main (#12099)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-03-15 16:41:26 +01:00
Nikolay Vitkov
d5da9fbfde
chore(deps): bump chromium-bidi (#12097) 2024-03-15 15:47:52 +01:00
jrandolf
26376224d5
fix: fix keyboard.sendCharacter (#12088) 2024-03-13 15:15:00 +00:00
Nikolay Vitkov
e867dd435f
docs: remove double the (#12087) 2024-03-13 15:04:48 +00:00
jrandolf
1a05d37cf2
chore: remove skip and add more frame.name() instructions (#12085) 2024-03-13 14:44:42 +00:00
jrandolf
0203b4533d
feat: deprecate Frame.prototype.name (#12084) 2024-03-13 14:29:59 +00:00
browser-automation-bot
ef7a9eac16
fix: roll to Chrome 122.0.6261.128 (r1250580) (#12078) 2024-03-13 13:45:12 +01:00
Darío Kondratiuk
4f422e60a6
test: improve target.asPage tests (#12060) 2024-03-11 10:54:55 +00:00
Nikolay Vitkov
9afe4246bb
fix(webdriver): emit CDP events (#12058) 2024-03-08 15:15:05 +01:00
release-please[bot]
e1a9b85bbe
chore: release main (#12056)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-03-08 13:12:17 +01:00
browser-automation-bot
9b31bca01a
fix: roll to Chrome 122.0.6261.111 (r1250580) (#12055) 2024-03-08 08:05:50 +01:00
Nikolay Vitkov
5b0adda5b9
refactor: extract BrowserContext class (#12053) 2024-03-07 13:35:28 +00:00
Yotam Laufer
c25388c335
docs: fix typo (#12050) 2024-03-06 19:19:25 +01:00
release-please[bot]
eddff1f55a
chore: release main (#12002)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-03-05 10:41:21 +00:00
Maksim Sadym
7fe22b533d
feat(webdriver): support Page.deleteCookie() for WebDriver BiDi (#12031) 2024-03-04 14:38:49 +00:00
Maksim Sadym
0c608754f6
chore(deps): Bump chromium-bidi to 0.5.12 (#12027)
## [0.5.12](https://github.com/GoogleChromeLabs/chromium-bidi/compare/chromium-bidi-v0.5.11...chromium-bidi-v0.5.12) (2024-02-29)


### Features

* implement `storage.deleteCookies` ([#1915](https://github.com/GoogleChromeLabs/chromium-bidi/issues/1915)) ([18d3d4f](18d3d4f197))


### Bug Fixes

* implement less flaky network module ([#1871](https://github.com/GoogleChromeLabs/chromium-bidi/issues/1871)) ([4ec8bad](4ec8bad7d1))
* parse `browser.RemoveUserContextParameters` ([#1905](https://github.com/GoogleChromeLabs/chromium-bidi/issues/1905)) ([a50821b](a50821b266))
2024-02-29 15:34:53 +00:00
Alex Rudenko
6d8831a9c3
fix(webdriver): wait for response if the response has not completed once navigation has finished (#12018) 2024-02-29 10:11:17 +00:00
Alexandra Borovova
355835bd63
chore: set "network.cookie.cookieBehavior" preference to "0" only for CDP (#12016) 2024-02-29 08:44:56 +00:00
Henrik Skupin
1eb6a33aa0
chore: for Firefox enable only the required protocol (CDP or BiDi) (#12014) 2024-02-28 13:13:12 +00:00
browser-automation-bot
7ba5529f8d
fix: roll to Chrome 122.0.6261.94 (r1250580) (#12012) 2024-02-28 08:29:58 +00:00
jrandolf
accf2b6ca8
feat: implement ElementHandle.uploadFile for WebDriver BiDi (#11963) 2024-02-26 14:10:46 +00:00
jrandolf
414f43388b
chore: implement ARIA queries in BiDi (#11999) 2024-02-26 13:09:37 +00:00
jrandolf
53cf9ce5d7
chore: update chromium bidi (#11998) 2024-02-26 12:06:43 +01:00
jrandolf
627bd00399
chore: implement removeExposedFunction (#11984) 2024-02-26 11:42:51 +01:00
release-please[bot]
9ddfa5314c
chore: release main (#11972)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-26 10:14:43 +00:00
browser-automation-bot
eb2c33485e
fix: roll to Chrome 122.0.6261.69 (r1250580) (#11991) 2024-02-23 09:28:32 +00:00
Alex Rudenko
3a467c39cb
feat: implement permissions for WebDriver BiDi (#11979) 2024-02-23 09:16:58 +00:00
jrandolf
7966dd7262
chore: refactor exposed function for BiDi (#11976) 2024-02-22 18:01:39 +00:00
Alex Rudenko
3448a4097b
build: fix windows build (#11975) 2024-02-22 15:30:58 +01:00
dependabot[bot]
5e942b3b2f
chore(deps): Bump the dependencies group with 1 update (#11973)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2024-02-22 13:45:38 +00:00
Alex Rudenko
873d6db020
build: make sure license information is preserved (#11971) 2024-02-22 13:42:59 +01:00
Alex Rudenko
753a954456
fix: supress viewport errors for pages that do not support changing it (#11970) 2024-02-22 13:10:59 +01:00
release-please[bot]
19fe78f797
chore: release main (#11949)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-22 09:09:03 +01:00
Alex Rudenko
ceab7a9042
fix: deprecate isIncognito (#11962) 2024-02-21 13:52:58 +01:00
jrandolf
013bd0b12d
fix: update touchscreen tests (#11960) 2024-02-21 11:24:36 +01:00
browser-automation-bot
70ad3b2448
feat: roll to Chrome 122.0.6261.57 (r1250580) (#11958)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2024-02-21 11:14:39 +01:00
Alex Rudenko
76143f328f
test: fix frameset clicks in WebDriver BiDi (#11952) 2024-02-19 14:30:21 +00:00
browser-automation-bot
03ef7a62c2
fix: roll to Chrome 121.0.6167.184 (r1233107) (#11948) 2024-02-19 12:28:58 +00:00
release-please[bot]
f6e7cbcade
chore: release main (#11901)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-17 12:43:56 +01:00
Alex Rudenko
f00a94a809
fix: Chrome for Testing downloads have a new URL (#11923) 2024-02-17 10:17:04 +00:00
jrandolf
a02c7a56f4
chore: wait for frames to be destroyed (#11919) 2024-02-15 09:22:23 +01:00
jrandolf
bd4d0febf0
chore: waitForNavigation should fail if navigation aborts or fails (#11914) 2024-02-15 09:16:46 +01:00
dependabot[bot]
634d5b805d
chore(deps-dev): Bump the dev-dependencies group with 13 updates (#11908)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2024-02-14 18:20:12 +00:00
Alex Rudenko
58e7e4fcef
test: implement workarounds for current state of WebDriver BiDi (#11911)
Co-authored-by: jrandolf <101637635+jrandolf@users.noreply.github.com>
2024-02-14 18:43:02 +01:00
Alex Rudenko
6cd0ce75d0
refactor: remove forgotten log (#11912) 2024-02-13 18:10:05 +01:00
jrandolf
d14c47097d
chore: implement BiDi workers (#11909) 2024-02-13 16:09:33 +01:00
jrandolf
0b74d752fb
chore: implement shared worker in bidi/core (#11907) 2024-02-13 13:16:23 +00:00
Alex Rudenko
1bdae40ec8
feat: support closing workers (#11870) 2024-02-13 13:40:59 +01:00
jrandolf
928d14ac84
chore: use internal event emitter for trusted events (#11898) 2024-02-13 11:35:10 +00:00
jrandolf
5b6456a7ca
chore: add README to bidi/core (#11882) 2024-02-13 12:09:30 +01:00
jrandolf
e9f9f4c356
refactor: adopt the rest of bidi/core (#11836) 2024-02-12 16:28:21 +00:00
jrandolf
d3f00bf032
chore: use redirectCount for redirect detection in bidi/core (#11896) 2024-02-12 15:58:22 +00:00
dependabot[bot]
97824e2de9
chore(deps): Bump the dependencies group with 4 updates (#11885)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 09:57:24 +00:00
jrandolf
c75dbf4f36
chore: consolidate user context creation (#11880) 2024-02-08 15:23:02 +01:00
jrandolf
59c4daa5ee
chore: fixup redirect in bidi/core (#11879) 2024-02-08 15:22:41 +01:00
jrandolf
bfcd65d2f7
chore: fix bidi/core navigation (#11878) 2024-02-08 15:22:17 +01:00
jrandolf
8a9fb1051a
chore: remove Page.prototype.target from WebDriver BiDi (#11873) 2024-02-08 13:08:02 +00:00
jrandolf
15c986c2bc
fix: deprecate Page.prototype.target (#11872) 2024-02-08 12:56:58 +00:00
Nikolay Vitkov
86c3988e26
test: remove Buffer.concat overwrite (#11876) 2024-02-08 11:00:37 +00:00
jrandolf
41ab6337d4
refactor: small cleanup around realms and handles (#11866) 2024-02-07 13:17:16 +01:00
Alex Rudenko
47c9fe5cd4
refactor: cleanup headless check (#11863) 2024-02-07 10:20:37 +01:00
jrandolf
87b4e401e0
chore: do not dispose window realm when the context is not destroyed (#11856) 2024-02-07 07:59:37 +01:00
jrandolf
194e7f5063
chore: move worlds to CDP (#11852) 2024-02-06 17:49:51 +01:00
jrandolf
dfdd1aab38
chore: use existing types (#11851)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2024-02-06 17:42:51 +01:00
jrandolf
6c5b9ad3b9
refactor: rename _requestId to id (#11850)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2024-02-06 17:42:25 +01:00
jrandolf
27c71a9cf6
chore: use generic implementation for BrowserContext.waitForTarget (#11848)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2024-02-06 17:42:05 +01:00
jrandolf
f62380d373
chore: add storage.getCookies and storage.setCookie to bidi/core (#11847)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2024-02-06 16:34:41 +00:00
jrandolf
b63ebc721d
chore: add const to UserContext.DEFAULT (#11846) 2024-02-06 15:42:02 +00:00
Alex Rudenko
799058cc7b
docs: fix NetworkConditions descriptions (#11843) 2024-02-06 12:24:10 +00:00
Alex Rudenko
c5cee0e37d
fix: frameElement should work for framesets (#11842) 2024-02-06 12:13:06 +00:00
jrandolf
a69984e5db
refactor: move bidi CDPSession (#11833) 2024-02-05 13:25:15 +01:00
release-please[bot]
9fbb9f9653
chore: release main (#11821)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-05 10:22:00 +00:00
Alex Rudenko
46a3ef2681
refactor!: rename createIncognitoBrowserContext to createBrowserContext (#11834) 2024-02-05 10:43:37 +01:00
Nikolay Vitkov
b2c69fe5bd
build: fix EsLint rule and add fixer (#11826) 2024-02-05 10:26:37 +01:00
Alex Rudenko
75c9e117f1
refactor!: enable the new-headless mode by default (#11815) 2024-02-02 13:25:43 +01:00
Alex Rudenko
7564dfa911
refactor!: remove networkConditions in favor of PredefinedNetworkConditions (#11806) 2024-02-02 13:25:20 +01:00
Nikolay Vitkov
84d9a94d62
refactor!: use ReadableStreams (#11805) 2024-02-02 13:25:02 +01:00
Nikolay Vitkov
514e2d5241
refactor!: remove duplicate type names (#11803) 2024-02-02 13:22:47 +01:00
Alex Rudenko
f1608743c8
refactor!: remove add/removeEventListener in favor of on/off (#11792) 2024-02-02 13:22:28 +01:00
Alex Rudenko
d4e9d8d591
fix!: make console warn level compatible with WebDriver BiDi (#11790) 2024-02-02 13:22:07 +01:00
Alex Rudenko
f18d44761c
refactor!: remove InterceptResolutionStrategy (#11788) 2024-02-02 13:21:48 +01:00
Alex Rudenko
eb360e3a76
refactor!: remove devices in favor of KnownDevices (#11787) 2024-02-02 13:20:33 +01:00
Nikolay Vitkov
53c9134809
refactor!: remove $x and waitForXpath (#11782) 2024-02-02 13:18:43 +01:00
Nikolay Vitkov
1900fa9418
refactor!: remove waitForTimeout (#11780) 2024-02-02 13:17:24 +01:00
Alex Rudenko
4fc14026e9
feat!: generate accessible PDFs by default (#11778) 2024-02-02 13:17:06 +01:00
Nikolay Vitkov
b3bfdd2024
refactor!: remove error const, change CustomError to PuppeteerError (#11777)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2024-02-02 13:15:20 +01:00
jrandolf
ced2235ada
fix!: remove viewport resizing from ElementHandle.screenshot (#11774) 2024-02-02 13:14:59 +01:00
Alex Rudenko
4677281877
feat!: remove PUPPETEER_DOWNLOAD_PATH in favor of PUPPETEER_CACHE_DIR (#11605) 2024-02-02 13:14:38 +01:00
Maksim Sadym
9cb1fde589
feat!: BiDi cookies (#11532)
Co-authored-by: Maksim Sadym <sadym@google.com>
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2024-02-02 13:13:00 +01:00
Nikolay Vitkov
953f4207b1
feat!: drop support for node16 (#10912) 2024-02-02 13:12:28 +01:00
release-please[bot]
e04016a4a0
chore: release main (#11785)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-02 11:13:09 +00:00
jrandolf
0f0813db38
fix: use shareReplay for inflight requests (#11810) 2024-02-02 08:09:33 +01:00