Andrey Lushnikov
dc7d221722
chore: bump version to v0.12.1-post ( #1516 )
2020-03-24 12:08:02 -07:00
Andrey Lushnikov
a7ca2fef09
chore: mark version v0.12.1 ( #1515 )
2020-03-24 11:28:07 -07:00
Dmitry Gozman
ed6e0d5513
chore: bump version to v0.12.0-post ( #1512 )
2020-03-24 10:46:35 -07:00
Dmitry Gozman
08b94ee67b
chore: mark version v0.12.0 ( #1497 )
2020-03-24 10:40:02 -07:00
Andrey Lushnikov
b778789ba8
feat: re-make global browser installation ( #1506 )
...
This patch removes the `PLAYWRIGHT_GLOBAL_INSTALL=1` variable
and instead introduces a new var - `PLAYWRIGHT_BROWSERS_PATH`.
You can specify `PLAYWRIGHT_BROWSERS_PATH` to affect where playwright
installs browsers and where it looks for browsers.
Fixes #1102
2020-03-24 00:08:00 -07:00
Pavel Feldman
e139d4cae7
feat(firefox): roll to 1051 ( #1494 )
2020-03-23 14:55:11 -07:00
Andrey Lushnikov
a74e23a257
feat: support PLAYWRIGHT_GLOBAL_INSTALL=1
env variable ( #1470 )
...
You can install playwright with
```
PLAYWRIGHT_GLOBAL_INSTALL=1 npm i playwright
```
to make it use a single shared location for all browser
downloads.
Fixes #1102
2020-03-23 12:49:53 -07:00
Pavel Feldman
15ebe1c339
feat(exposeFunction): implement context-level expose on firefox ( #1478 )
2020-03-22 22:45:15 -07:00
Pavel Feldman
c68cee9fb7
feat(offline): implement offline in firefox ( #1476 )
2020-03-22 15:34:30 -07:00
Dmitry Gozman
6e8895fa08
fix(firefox): make interception, locale and geolocation work on browser context level ( #1472 )
2020-03-22 08:56:50 -07:00
Dmitry Gozman
3f90c09e6d
tests: mark popup tests as passing on Firefox ( #1466 )
2020-03-21 19:56:33 -07:00
Pavel Feldman
5a42cbd491
fix(permissions): manage permissions on the proxy level in webkit ( #1451 )
2020-03-20 19:45:35 -07:00
Pavel Feldman
e210e5601c
feat(lang): emulate language on firefox ( #1453 )
2020-03-20 19:32:27 -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
Joel Einbinder
fa02b841a9
test(types): add test for types ( #1445 )
2020-03-20 10:40:02 -07:00
Joel Einbinder
825555cddf
types: better types ( #1166 )
...
This generates typescript definitions based on the api.md, instead of autogenerating them from the typescript source code.
Now types
- only include the public api
- work with older versions of typescript
- include descriptions
- are more consistent
- are more complete
#6
2020-03-20 01:30:35 -07:00
Yury Semikhatsky
c6696746dc
feat(chromium): roll Chromium to 751710 ( #1434 )
2020-03-19 14:55:40 -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
Dmitry Gozman
dd850ada89
api(eval): allow non-toplevel handles as eval arguments ( #1404 )
2020-03-18 10:41:46 -07:00
Pavel Feldman
e4225adcc0
feat(permissions): make origin optional ( #1406 )
2020-03-17 15:32:50 -07:00
Pavel Feldman
951126a58a
feat(chromium): roll Chromium to r750417 ( #1398 )
2020-03-14 19:32:26 -07:00
Pavel Feldman
11c3c117de
feat(webkit): roll webkit to r1179
2020-03-11 21:19:56 -07:00
Andrey Lushnikov
f92c95c1bf
feat(firefox): roll Firefox to r1042 ( #1357 )
2020-03-11 19:03:19 -07:00
Pavel Feldman
5d4fdd050a
feat(webkit): roll webkit to 1178 ( #1339 )
2020-03-11 14:08:22 -07:00
Pavel Feldman
0077b428fc
feat(webkit): emulate device size ( #1318 )
2020-03-10 13:16:33 -07:00
Andrey Lushnikov
071ee06404
chore: normalize NPM scripts ( #1285 )
...
This patch:
- makes `npm run cunit/wunit/funit` and `npm run ctest/ftest/wtest` run
browser-specific tests only
- makes `npm run unit` and `npm run test` run *all* browser tests
- runs *all* our infrastructure tests as part of `npm run lint`
As a result, if there's one test to be tested across all three browsers,
you can focus it and do `npm run test`;
2020-03-07 17:09:38 -08:00
Andrey Lushnikov
e78f0f71df
feat(firefox): roll Firefox to r1041 ( #1281 )
2020-03-07 08:42:33 -08:00
Dmitry Gozman
aee6324bba
feat(firefox): roll firefox ( #1273 )
2020-03-06 16:49:48 -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
c734b4b715
feat(click): start wire auto-waiting click in firefox ( #1233 )
2020-03-05 14:47:04 -08:00
Dmitry Gozman
6fb5168fb2
feat(chromium): roll Chromium to v747023 ( #1227 )
2020-03-04 17:39:29 -08:00
Andrey Lushnikov
82baf61b19
feat(webkit): roll webKit to r1168 ( #1224 )
...
Hopefully this will fix our CI crashes!
2020-03-04 14:15:34 -08:00
Dmitry Gozman
dbfeda28a0
feat(webkit): roll to 1167 ( #1221 )
2020-03-04 12:11:43 -08:00
Andrey Lushnikov
14a7d1c656
chore: bump proxy-from-env dependency ( #1210 )
...
Fixes #1184
2020-03-04 11:02:50 -08:00
Yury Semikhatsky
771793f418
test(context): test that context.close() works for empty context ( #1205 )
2020-03-03 23:04:08 -08:00
Yury Semikhatsky
4a9a155838
test: enable page opener test on WebKit ( #1193 )
2020-03-03 14:11:17 -08:00
Andrey Lushnikov
57c45f0d1f
fix: properly publish all packages on travis ( #1187 )
2020-03-02 17:40:48 -08:00
Andrey Lushnikov
eb1a9eb2cc
chore: rename prepare.js into install-from-github.js
...
This is what it actually does.
2020-02-28 17:37:05 -08:00
Dmitry Gozman
82a4ede6dc
chore: roll Chromium to 745253 ( #1156 )
2020-02-28 09:02:26 -08:00
Dmitry Gozman
7682865d73
feat(popups): add BrowserContext.evaluateOnNewDocument ( #1136 )
2020-02-27 16:18:33 -08:00
Yury Semikhatsky
6b6a671754
fix(webkit): pass popup tests ( #1138 )
2020-02-27 08:43:01 -08:00
Pavel Feldman
d20f3cac89
feat(webkit): no start window, healthy pipe ( #1113 )
2020-02-26 13:02:15 -08:00
Dmitry Gozman
672f3f9960
feat(popups): introduce BrowserContext.setDefaultHTTPHeaders ( #1116 )
2020-02-26 12:42:20 -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
Pavel Feldman
30a4d0e797
feat(webkit): roll to v1155 ( #1104 )
2020-02-25 08:51:50 -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
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
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