aesyondu
72fa945689
Update request.respond to request.fulfill ( #1123 )
2020-02-26 10:58:37 -08:00
Pavel Feldman
1d02c2d268
browser(webkit): --no-startup-window for mac ( #1118 )
2020-02-25 21:23:47 -08:00
Pavel Feldman
51d1b6388d
browser(webkit): no_startup_window on linux ( #1117 )
2020-02-25 20:34:58 -08:00
Dmitry Gozman
facf2c24fd
browser(firefox): support BrowserContext.setExtraHTTPHeaders ( #1111 )
2020-02-25 17:24:06 -08:00
Pavel Feldman
de635349c1
browser(webkit): happy pipe on win, no startup windows ( #1112 )
2020-02-25 16:27:06 -08:00
Andrey Lushnikov
e3b2f2b2db
browser(firefox): allow loading file URLs in web process ( #1110 )
2020-02-25 16:07:22 -08:00
Dmitry Gozman
dcdc7db158
feat(chromium): use no-startup-window to not create default context ( #1106 )
2020-02-25 11:43:17 -08:00
Yury Semikhatsky
c7ade1a711
browser(webkit): revert unused Target.oldTargetId ( #1096 )
2020-02-25 11:30:29 -08:00
Pavel Feldman
30a4d0e797
feat(webkit): roll to v1155 ( #1104 )
2020-02-25 08:51:50 -08:00
Pavel Feldman
ebcaadedf1
feat(log): log only user api calls with DEBUG=pw:api ( #1029 )
2020-02-25 07:09:27 -08:00
Dmitry Gozman
d97ea70804
chore: move more injected code to injected to reduce evaluation size ( #1093 )
2020-02-25 07:06:20 -08:00
Pavel Feldman
8c57358248
browser(webkit): fix null pointer access ( #1099 )
2020-02-25 06:54:10 -08:00
Dmitry Gozman
ba29470cc1
fix(api): rename relativePoint to offset, remove unused parameters from input ( #1092 )
2020-02-24 21:12:02 -08:00
aesyondu
fdfec8eb2a
fix(platform) instanceof bug between execution contexts of RegExp object ( #1048 )
...
First encountered at jest-playwright repo:
https://github.com/mmarkelov/jest-playwright/issues/38
Solution based on:
https://stackoverflow.com/questions/4339288/typeof-for-regexp#comment4724685_4339350
2020-02-24 18:32:17 -08:00
Joel Einbinder
a6c3735b9d
test: add failing drag and drop test ( #1095 )
...
The test file comes from mdn: https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/setData
References #1094
2020-02-24 18:25:47 -08:00
Joel Einbinder
b50e8b377f
chore: fix doclint tests ( #1098 )
...
This fixes the doclint tests so that `npm test` works. It also adds all the browsers to npm test.
Fixes #8
2020-02-24 18:24:02 -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
Pavel Feldman
de03f37a99
browser(webkit): follow up to roll, fix Win ( #1091 )
2020-02-24 14:31:16 -08:00
Andrey Lushnikov
971ab776de
chore(docs): update win buildbot setup docs
2020-02-24 14:08:54 -08:00
Pavel Feldman
6821c9ec06
browser(webkit): roll to ToT 2/24/2020 ( #1088 )
2020-02-24 12:07:12 -08:00
Aaron Zemetres
69fe6f7236
docs: added community example project ( #1084 )
2020-02-24 09:00:53 -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
Dmitry Gozman
1f8508d1ed
feat(waitFor): update various waitFor options to be a single boolean ( #1066 )
2020-02-22 09:16:28 -05:00
Andrey Lushnikov
88e310942b
test: fix test on Firefox Linux ( #1079 )
2020-02-21 13:21:45 -08:00
Andrey Lushnikov
f305d6594e
chore: remove focused test
2020-02-21 13:12:57 -08:00
Andrey Lushnikov
66362a5687
chore: update appveyour config
2020-02-21 13:09:36 -08:00
Andrey Lushnikov
0ded511d0b
feat(testrunner): better matchers ( #1077 )
...
This patch re-implements matching and reporting for test runner.
Among other improvements:
- test failures now show a short snippet from test
- test failures now explicitly say what received and what was expected
- `expect.toBe()` now does text diff when gets strings as input
- `expect.toEqual` now does object diff
2020-02-20 22:55:39 -08:00
Andrey Lushnikov
53a7e342e9
fix(testrunner): support throwing non-errors
2020-02-20 17:06:05 -08:00
Andrey Lushnikov
05a1e1c641
test: remove newContext
and newPage
test helpers ( #1070 )
...
All tests should clean up their contexts themselves.
2020-02-20 15:15:48 -08:00
Dmitry Gozman
2fabaaf751
browser(webkit): force overlay scrollbars on mac, ignoring system setting ( #1071 )
...
9ebd5359b7
References #844 .
2020-02-19 20:29:42 -06:00
Dmitry Gozman
40164298a8
api: remove ElementHandle.visibleRatio ( #1069 )
2020-02-19 16:08:25 -08:00
Joel Einbinder
568c6cbb54
test(navigation): fix flaky networkidle tests ( #1058 )
...
The network idle tests were waiting for requests to appear on the server, but not for playwright to be notified of the request via protocol. They also assumed performance.now would match up with setTimeout times.
2020-02-19 14:26:02 -08:00
Dmitry Gozman
84ee297c4b
test: add a test for bounding box on partially visible element ( #1011 )
2020-02-19 16:08:29 -06:00
Andrey Lushnikov
4be48a6b1b
chore: disable DEBUGP on bots
2020-02-19 14:07:36 -08:00
Dmitry Gozman
33824aa1d7
feat(click): waitForInteractable option, defaults to true ( #934 ) ( #1052 )
2020-02-19 09:34:57 -08:00
Dmitry Gozman
9f1edadbff
fix(navigation): do not count random failures as navigation cancel ( #1055 )
2020-02-18 19:58:04 -08:00
Dmitry Gozman
223685ee7b
chore: strip out injected script from protocol logs ( #1054 )
2020-02-18 19:56:59 -08:00
Dmitry Gozman
1805acd5d5
test: update animation click test ( #1053 )
2020-02-18 14:30:56 -08:00
Pavel Feldman
1ee657823e
feat(viewport): update defaults to 1280x720, fix Firefox ( #1038 )
2020-02-18 09:16:32 -08:00
Pavel Feldman
f2b2d72693
fix(input): emit change events upon page.setInputFiles ( #1028 )
2020-02-18 09:15:47 -08:00
Daniel Imms
8a7728da3d
docs: document LaunchOptions.dumpio ( #1051 )
2020-02-18 08:56:20 -08:00
Józsi
010c27410a
Docs: fix return type of launchPersistent ( #1047 )
...
Docs fix: the return type of `browserType.launchPersistent` is [BrowserContext](https://github.com/microsoft/playwright/blob/master/src/server/browserType.ts#L46 ), not ` BrowserServer`.
2020-02-17 14:35:11 -08:00
Pavel Feldman
e65897844f
test: add screenshot test that fails on Chromium ( #1039 )
2020-02-15 16:34:27 -08:00
Darío Kondratiuk
cfeaecb3d2
test(keyboard): Remove duplicated test ( #1031 )
2020-02-15 14:58:07 -08:00
Daniel Imms
8071225d1e
Add xterm.js to showcase ( #1034 )
2020-02-15 10:07:41 -08:00
Joel Einbinder
8cfdeb99bd
chore: mark v0.11.1-post ( #1027 )
2020-02-14 19:23:50 -08:00
Joel Einbinder
2037e01b06
chore: mark v0.11.1 ( #1025 )
2020-02-14 19:13:08 -08:00
Pavel Feldman
b1520f7cc5
feat(webkit): roll webkit to r1151 ( #1021 )
2020-02-14 19:09:51 -08:00
Andrey Lushnikov
9caa61aed1
devops: upload logs for test runs ( #1015 )
2020-02-14 19:02:17 -08:00