Dmitry Gozman
|
ba36860d79
|
feat(api): page.unroute to remove routes (#1813)
|
2020-04-15 19:55:22 -07:00 |
|
Dmitry Gozman
|
5b4d32d375
|
fix(chromium): fix a race in persistent context launch (#1702)
We should stop attaching to existing targets immediately after Target.setAutoAttach response arrives, otherwise we have a window for double attach.
|
2020-04-08 11:18:06 -07:00 |
|
Dmitry Gozman
|
aeeac55732
|
feat(chromium): support oopifs (#1664)
Splits CRPage into CRPage and FrameSession, carefully broadcasting or picking the right session for each operation.
|
2020-04-06 15:09:43 -07:00 |
|
Joel Einbinder
|
b7d0c32338
|
fix(browser): wait for the pipe to disconnect in browser.close (#1652)
With WebKit, sometimes the process closes before the stdio is streams are closed. I explicitly wait for the browser disconnect event now when closing.
|
2020-04-03 16:34:07 -07:00 |
|
Dmitry Gozman
|
ea16e55ba3
|
fix(lint): import errors (#1649)
|
2020-04-02 20:30:52 -07:00 |
|
Pavel Feldman
|
75571e8eb8
|
feat(downloads): support downloads on cr and wk (#1632)
|
2020-04-02 17:56:14 -07:00 |
|
Joel Einbinder
|
3d6d9db44a
|
fix: wait for the process to close when closing the browser (#1629)
|
2020-04-02 16:57:12 -07:00 |
|
Pavel Feldman
|
e241c1bef8
|
chore: remove web mode (#1625)
|
2020-04-01 14:42:47 -07:00 |
|
Pavel Feldman
|
307b33ab7d
|
feat(chromium): roll to r754895 (#1610)
|
2020-03-31 13:23:08 -07:00 |
|
Pavel Feldman
|
4e89939ece
|
chore: do not try/catch buffer.concat (#1575)
|
2020-03-27 15:16:17 -07:00 |
|
Pavel Feldman
|
00cb4e370f
|
chore: move transport to object messages (#1567)
|
2020-03-26 23:30:55 -07:00 |
|
Dmitry Gozman
|
7ef394b345
|
chore(chromium): remove CRTarget, use CRPage and CRServiceWorker instead (#1436)
|
2020-03-23 21:48:32 -07:00 |
|
Yury Semikhatsky
|
45a175d8fe
|
fix(chromium): ignore lifecycle events for the initial empty page (#1486)
|
2020-03-23 13:50:04 -07:00 |
|
Pavel Feldman
|
c539325615
|
feat(geo): implement geo override in ff (#1438)
|
2020-03-20 19:17:46 -07:00 |
|
Dmitry Gozman
|
16c7a5bd5c
|
api(eval): accept zero or one arguments in all evaluation functions (#1431)
|
2020-03-20 15:08:17 -07:00 |
|
Yury Semikhatsky
|
535b484637
|
api(context): get rid of PageEvent (#1433)
|
2020-03-19 16:25:12 -07:00 |
|
Yury Semikhatsky
|
3ed9970b33
|
api(chromium): add ChromiumBrowserContext.serviceWorkers() (#1416)
|
2020-03-19 16:10:24 -07:00 |
|
Dmitry Gozman
|
7bd924673a
|
fix(PageEvent): properly wait for initial navigation in chromium and webkit (#1412)
|
2020-03-18 17:14:18 -07:00 |
|
Yury Semikhatsky
|
b8e79e60c7
|
chore(chromium): remove obsolete target related code (#1417)
|
2020-03-17 22:07:20 -07:00 |
|
Pavel Feldman
|
e4225adcc0
|
feat(permissions): make origin optional (#1406)
|
2020-03-17 15:32:50 -07:00 |
|
Dmitry Gozman
|
9b86c631c8
|
api: make BrowserContext.pages() synchronous (#1369)
Returns all pages which have been initialized already.
References #1348.
|
2020-03-13 11:33:33 -07:00 |
|
Pavel Feldman
|
8aba111f1e
|
api(cdp): rename createSession to newCDPSession (#1378)
|
2020-03-13 09:00:03 -07:00 |
|
Pavel Feldman
|
cfd3ae25fb
|
api(addCookies): setCookies -> addCookies (#1367)
#1348
|
2020-03-12 17:32:33 -07:00 |
|
Dmitry Gozman
|
c1ef683373
|
api: remove waitForLoadState() in favor of PageEvent.page(options) (#1323)
|
2020-03-11 14:46:52 -07:00 |
|
Dmitry Gozman
|
ea6978a3d8
|
api(popups): expose BrowserContext.route() (#1295)
|
2020-03-09 21:02:54 -07:00 |
|
Yury Semikhatsky
|
9bd3711394
|
fix(context): reliably fire BrowserContext.Close event when browser is closing (#1277)
|
2020-03-09 16:53:33 -07:00 |
|
Yury Semikhatsky
|
0fbc7af26d
|
chore(targets): create page targets only when attached to them (#1278)
|
2020-03-09 15:53:45 -07:00 |
|
Andrey Lushnikov
|
d1ef0c8694
|
fix(wk,ff): properly support getting and setting non-session cookies (#1280)
|
2020-03-07 08:41:57 -08:00 |
|
Yury Semikhatsky
|
8211287a23
|
fix(session): use isolated root session for client page sessions (#1271)
|
2020-03-06 15:11:03 -08:00 |
|
Andrey Lushnikov
|
c494944b46
|
api(popups): move Page.authenticate to BrowserContext.setHTTPCredentials (#1267)
Drive-by: fixes #720 since it rolls past r1037.
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
|
2020-03-06 13:50:42 -08:00 |
|
Pavel Feldman
|
2724157c22
|
feat(waitUntil): allow waiting for navigation from clicks, etc (#1255)
|
2020-03-06 08:24:32 -08:00 |
|
Yury Semikhatsky
|
9bc6dcea1d
|
feat(api): introduce BrowserContext.waitForEvent (#1252)
|
2020-03-05 17:22:57 -08:00 |
|
Dmitry Gozman
|
e5f82af47c
|
api(popups): emit PageEvent immediately, and resolve page() once initialized (#1229)
This way we do not miss any popups, even immediately closed ones.
|
2020-03-05 15:18:27 -08:00 |
|
Yury Semikhatsky
|
665888d579
|
feat(popups): auto-attach to all pages in Chromium (#1226)
|
2020-03-05 10:45:32 -08:00 |
|
Dmitry Gozman
|
7f9df9488e
|
api(popups): move Page.setOfflineMode -> BrowserContext.setOffline (#1223)
|
2020-03-04 17:58:12 -08:00 |
|
Joel Einbinder
|
8aa88d5021
|
fix(doc): check and update optional types in the api (#1206)
This adds a new check to doclint for whether a member is correctly marked as optional.
part of #6
|
2020-03-03 17:29:12 -08:00 |
|
Dmitry Gozman
|
6c6cdc033b
|
api(popup): introduce BrowserContext.exposeFunction (#1176)
|
2020-03-03 16:46:06 -08:00 |
|
Yury Semikhatsky
|
31e26a2208
|
fix(api): fire BrowserContext.Page event in WebKit and Firefox (#1186)
|
2020-03-02 18:32:56 -08:00 |
|
Yury Semikhatsky
|
a57978a5f0
|
api(chromium): remove Target from public API (#1163)
|
2020-03-02 13:58:22 -08:00 |
|
Dmitry Gozman
|
ac2f04f10f
|
api(selectors): pass selector name when registering, allow file path (#1162)
|
2020-02-28 15:34:07 -08:00 |
|
Dmitry Gozman
|
823bf389a7
|
api: evaluateOnNewDocument -> addInitScript (#1152)
Also adds more options to specify the script.
|
2020-02-27 17:42:14 -08:00 |
|
Dmitry Gozman
|
7682865d73
|
feat(popups): add BrowserContext.evaluateOnNewDocument (#1136)
|
2020-02-27 16:18:33 -08:00 |
|
Dmitry Gozman
|
672f3f9960
|
feat(popups): introduce BrowserContext.setDefaultHTTPHeaders (#1116)
|
2020-02-26 12:42:20 -08:00 |
|
Pavel Feldman
|
3afaeef557
|
feat(socket): destroy contexts upon disconnect (#1119)
|
2020-02-26 11:01:01 -08:00 |
|
Dmitry Gozman
|
6acc439450
|
feat(api): move targets from CRBrowser to CRBrowserContext (#1089)
This makes them work for default context.
|
2020-02-24 14:35:51 -08:00 |
|
Dmitry Gozman
|
a43b4095e1
|
chore: make BrowserContext an interface, with 3 implementations (#1075)
This is in preparation for moving targets to BrowserContext, so that one can work with targets in default context.
|
2020-02-24 08:53:30 -08:00 |
|
Dmitry Gozman
|
3677818202
|
fix(api): browser.serviceWorker -> target.serviceWorker (#1076)
|
2020-02-24 08:31:58 -08:00 |
|
Andrey Lushnikov
|
f8f818f676
|
Revert "Revert "feat: do not wait for first page in non-persistent mode (#939)""
Apparently a good fix is coming: https://github.com/microsoft/playwright/pull/993/
Pavel want to re-revert.
|
2020-02-13 13:54:01 -08:00 |
|
Andrey Lushnikov
|
71892b4aaa
|
Revert "feat: do not wait for first page in non-persistent mode (#939)"
This reverts commit a567123596.
Reason for revert: WK-Win fails to start if we start talking over the
pipe too early.
|
2020-02-13 13:44:58 -08:00 |
|
Dmitry Gozman
|
a567123596
|
feat: do not wait for first page in non-persistent mode (#939)
|
2020-02-13 10:51:17 -08:00 |
|