Commit Graph

676 Commits

Author SHA1 Message Date
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
Maksim Sadym
7fe22b533d
feat(webdriver): support Page.deleteCookie() for WebDriver BiDi (#12031) 2024-03-04 14:38:49 +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
627bd00399
chore: implement removeExposedFunction (#11984) 2024-02-26 11:42:51 +01: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
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
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
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
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
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
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
jrandolf
0f0813db38
fix: use shareReplay for inflight requests (#11810) 2024-02-02 08:09:33 +01:00
Henrik Skupin
0de9f59062
chore: for Firefox keep preference "browser.tabs.closeWindowWithLastTab" disabled for CDP (#11794) 2024-01-31 17:30:23 +00:00
Alex Rudenko
2930a70c88
feat(bidi): implement UserContexts (#11784) 2024-01-31 09:22:47 +01:00
Nikolay Vitkov
b99d478cd4
feat: add outline to PDF generation (#11779) 2024-01-30 12:34:33 +01:00
Alex Rudenko
2c3711e885
docs: clarify current behavior of PUPPETEER_BROWSER_REVISION (#11783) 2024-01-30 11:37:54 +01:00
jrandolf
9cd66731d1
fix: set viewport for element screenshots (#11772) 2024-01-29 13:09:09 +00:00
jrandolf
d085127bba
refactor: use generic implementation for waitForNetworkIdle (#11757) 2024-01-26 16:06:41 +01:00
Alex Rudenko
ce894a2ffc
feat: download chrome-headless-shell by default and use it for the old headless mode (#11754) 2024-01-25 21:39:07 +01:00
Alex Rudenko
f88e1da638
feat: add experimental browser.debugInfo (#11748) 2024-01-25 14:57:45 +00:00
jrandolf
08f761486e
refactor: use generic implementation for waitForRequest (#11753) 2024-01-25 14:52:11 +01:00
jrandolf
3698fa8aec
refactor: use generic implementation for waitForResponse (#11752) 2024-01-25 14:22:48 +01:00
jrandolf
398b31de26
refactor: adopt core/UserContext on BidiBrowserContext (#11734) 2024-01-24 14:07:45 +00:00
browser-automation-bot
0eec94cf57
feat: roll to Chrome 121.0.6167.85 (r1233107) (#11743)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2024-01-24 13:28:45 +00:00
Alex Rudenko
415cfaca20
feat: roll to Chrome 120.0.6099.109 (r1217362) (#11733) 2024-01-24 13:10:23 +01:00
jrandolf
69e44fc808
chore: handle disposal of core/bidi resources (#11730) 2024-01-24 10:10:42 +01:00
jrandolf
bc7bd01d85
chore: add dispose to core/UserContext (#11727) 2024-01-24 10:09:24 +01:00
jrandolf
86423469ec
chore: add dispose to core/UserPrompt (#11726) 2024-01-23 15:48:46 +00:00
jrandolf
5ca65e06c3
chore: implement higher order event emitters (#11723) 2024-01-23 16:08:20 +01:00
Alex Rudenko
d17a9df027
revert: refactor: adopt core/UserContext on BidiBrowserContext (#11721) 2024-01-23 11:43:40 +00:00
jrandolf
ab5d4ac602
refactor: adopt core/UserContext on BidiBrowserContext (#11714) 2024-01-22 14:53:48 +00:00
jrandolf
bb45951e2f
refactor: adopt core/Browser on BidiBrowser (#11702) 2024-01-22 11:38:34 +01:00
Nikolay Vitkov
76da4e6479
chore: extract protocol utils to separate files (#11706) 2024-01-19 13:36:26 +00:00
Nikolay Vitkov
6a28525fc9
chore: remove unused code and dep (#11705) 2024-01-19 14:03:29 +01:00
jrandolf
afb7d9eb58
refactor: implement core/Connection on BidiConnection (#11700) 2024-01-18 14:24:41 +01:00
jrandolf
0abede9a5f
refactor: implement bidi/core (#11649) 2024-01-18 13:29:52 +01:00
Darío Kondratiuk
f6c6d768df
chore: remove updated but unused variable (#11679) 2024-01-15 10:12:49 +01:00
Darío Kondratiuk
3b3b9c385f
chore: remove redundant type-check (#11678) 2024-01-15 08:39:52 +00:00
Nikolay Vitkov
864ebc86c9
chore: remove some instances of TS any (#11661) 2024-01-11 14:26:02 +00:00
Nikolay Vitkov
cf879b82f6
fix: expose function for Firefox BiDi (#11660) 2024-01-11 11:08:21 +00:00
jrandolf
d0dd209850
refactor: implement fromEmitterEvent (#11658) 2024-01-09 13:45:45 +00:00
jrandolf
93fb2f4ea4
refactor: make Deferred.valueOrThrow idempotent. (#11657) 2024-01-09 11:40:26 +01:00
jrandolf
27dd2fc8ca
refactor: move PDF options to utilities (#11651) 2024-01-08 19:45:32 +01:00