Pavel Feldman
8c2302d6ec
browser(webkit): do not navigate popups to about:blank on Win ( #886 )
2020-02-07 08:27:25 -08:00
Pavel Feldman
d397bb1bc3
feat(chromium): roll chromium to r739261 ( #885 )
2020-02-06 21:23:28 -08:00
Pavel Feldman
fe2431e34b
feat(webkit): roll webkit to r1137 ( #884 )
2020-02-06 21:06:55 -08:00
Dmitry Gozman
fee83b17c9
fix(api): page.viewport -> page.viewportSize ( #878 )
...
We now only allow to resize the page, leaving isMobile and deviceScaleFactor as browser context options.
2020-02-06 19:02:55 -08:00
Dmitry Gozman
c33a12d8f0
feat(firefox): ensure that new pages get browser context userAgent option ( #872 )
2020-02-06 19:01:03 -08:00
Pavel Feldman
bc912596b8
browser(webkit): use random ephemeral session ids on Mac ( #881 )
2020-02-06 17:33:11 -08:00
Joel Einbinder
06a7d7e3e3
docs(api.md): missing arguments for functions in page.route ( #880 )
2020-02-06 17:14:37 -08:00
Andrey Lushnikov
f15690da0d
browser(webkit): roll WebKit to tip-of-tree 2/6/2020 ( #877 )
2020-02-06 16:55:04 -08:00
Joel Einbinder
ffc1022717
fix(doclint): fix doclint for new typescript ( #879 )
...
Some types now have `innerTypeNames.length === 0`. Fun!
2020-02-06 16:26:36 -08:00
Andrey Lushnikov
ffc8f961da
browser(firefox): bump build number to r1025
2020-02-06 16:14:39 -08:00
Dmitry Gozman
9f0bbfff2c
browser(firefox): pause page on creation to handle emulation messages ( #871 )
...
153a95c23a
2020-02-06 16:07:52 -08:00
aesyondu
75340f34ad
chore: Note that (code) coverage is only available for chromium ( #867 )
2020-02-06 15:51:03 -08:00
Andrey Lushnikov
8c6faab012
browser(firefox): roll firefox to upstream's beta ( #876 )
2020-02-06 15:21:06 -08:00
Pavel Feldman
99d06892c5
tests: explicitly close contexts for browser.newPage ( #875 )
2020-02-06 15:18:07 -08:00
Joel Einbinder
126eb505e8
fix(transport): dispatch messages in separate tasks ( #841 )
...
Fixes a bug in our pipe, and the same one in the non-standard `ws` module. Our protocol messages are I/O events, and therefore they should each be executed in their own task.
2020-02-06 14:14:46 -08:00
Pavel Feldman
6202ff12fd
browser(firefox): use guids for browser contexts, delete contexts on disconnect ( #866 )
2020-02-06 13:41:25 -08:00
Pavel Feldman
a547aa7984
feat(connect): allow multiple webkit connections over web socket ( #863 )
2020-02-06 12:41:43 -08:00
Andrey Lushnikov
f49d63ff0c
test: remove fdescribe
2020-02-06 12:20:29 -08:00
Pavel Feldman
5152540f47
test(cookies): add more isolation tests ( #869 )
2020-02-06 09:24:10 -08:00
Andrey Lushnikov
a72784a677
fix(test): properly clean input field ( #860 )
2020-02-05 18:11:33 -08:00
Andrey Lushnikov
fa6a5edb31
chore: fix typo in aliases
2020-02-05 17:42:34 -08:00
Andrey Lushnikov
177a1d43b3
chore: add "unit", "wunit" and "funit" aliases ( #859 )
...
These are faster to type on the split keyboard :-[
2020-02-05 17:37:44 -08:00
Dmitry Gozman
6318ba6e4a
feat(frame): introduce frame.frameElement ( #856 )
...
Fixes #839 .
2020-02-05 17:20:23 -08:00
Joel Einbinder
4be39f8af0
chore(types): upgrade to typescript 3.7.5 ( #855 )
2020-02-05 16:53:36 -08:00
Andrey Lushnikov
4aa155ede1
docs(api.md): fix link
2020-02-05 16:53:02 -08:00
Andrey Lushnikov
cd68619786
chore: fix protocol-types-generator to work with new API
...
Follow-up to a2ab645e63
2020-02-05 16:51:16 -08:00
Pavel Feldman
55b6fe241e
feat(launch): introduce client, server & persistent launch modes (3) ( #854 )
2020-02-05 16:36:36 -08:00
Dmitry Gozman
28c4a1697c
fix(chromium): ensure we resume service worker before detaching from it ( #850 )
2020-02-05 16:08:28 -08:00
Andrey Lushnikov
a4c40fff82
test: make sure page.fill
actually clears an input ( #851 )
2020-02-05 16:07:25 -08:00
Dmitry Gozman
1b1ed087ae
browser(webkit): introduce DOM.scrollIntoViewIfNeeded ( #847 )
...
69fb612396
2020-02-05 15:17:12 -08:00
Dmitry Gozman
0cc26c0fe6
browser(firefox): introduce Page.scrollIntoViewIfNeeded ( #848 )
...
1cfb6fd4cc
2020-02-05 14:57:30 -08:00
Pavel Feldman
a2ab645e63
feat(launch): introduce client, server & persistent launch modes (2) ( #840 )
2020-02-05 12:41:55 -08:00
Andrey Lushnikov
0f1a42a5d3
docs(readme): fix API link to always point to last released API
2020-02-05 12:05:36 -08:00
Andrey Lushnikov
f114255a3d
devops: attempt to fix chromium linux bot
2020-02-05 11:58:16 -08:00
Pavel Feldman
2e0f3e3e01
docs: split docs to npm version and latest ( #846 )
2020-02-05 07:29:06 -08:00
Pavel Feldman
0518625dcc
feat(launch): introduce client, server & persistent launch modes (1) ( #838 )
2020-02-04 19:41:38 -08:00
Pavel Feldman
bdf8e39786
feat(goto): assume http:// for localhost navigations ( #825 )
2020-02-04 19:39:52 -08:00
Dmitry Gozman
8f1df5e1e8
fix(chromium): pause workers on start to not miss any events ( #832 )
2020-02-04 19:36:46 -08:00
Dmitry Gozman
4b761f4485
test: expect current behavior for cross-frame js handles ( #833 )
2020-02-04 19:34:54 -08:00
Andrey Lushnikov
6dc88bcb85
feat(webkit): roll WebKit to r1134 ( #835 )
2020-02-04 19:32:22 -08:00
Andrey Lushnikov
0c2a2e11fd
fix: properly nullify error stacks ( #836 )
...
`error.stack` is supposed to have error message as the first line.
2020-02-04 19:31:57 -08:00
Pavel Feldman
e3e2da3186
feat(check): introduce page.check/uncheck ( #826 )
2020-02-04 14:39:10 -08:00
Pavel Feldman
2ba5e840c1
docs: we are Playwright, not PlayWright
2020-02-04 08:01:25 -08:00
aesyondu
3ef23133a6
docs: fix dead link for element handle ( #827 )
2020-02-03 20:27:54 -08:00
Pavel Feldman
05d4746eb5
feat(selectors): temporarily remove zs engine ( #824 )
2020-02-03 16:14:37 -08:00
Pavel Feldman
1059e22f9e
fix(fill): make fill work for input[type=number] ( #819 )
2020-02-03 15:50:45 -08:00
Andrey Lushnikov
b82bc5fbd4
feat: treat selectors with leading '(//' as xpath ( #821 )
...
This starts treating the following selectors as xpath:
- `page.$('//div')`
- `page.$('(//div)[1]')`
- `page.$('((((//div))))[1]')`
(and generally, any number of leading openting parenthesis)
Fixes #817
2020-02-03 14:52:18 -08:00
Andrey Lushnikov
cea036ab7e
feat: change vendor package exports ( #818 )
...
* feat: change vendor package exports
This patch changes top-level exports for the vendor-specific
packages:
- `playwright-chromium`: now exports an object with a single `chromium`
field
- `playwright-wekbit`: now exports an object with a single `webkit`
- `playwright-firefox`: now exports an object with a single `firefox`
Fixes #814
* fix typo
* address comments
2020-02-03 14:24:03 -08:00
Pavel Feldman
8028fb052a
feat(route): migrate from request interception w/ events to page.route ( #809 )
2020-02-03 14:23:24 -08:00
Pavel Feldman
84edefd087
browser(webkit): follow up to Browser.setLanguage, fan out changes ( #801 )
2020-02-03 12:03:16 -08:00