Dmitry Gozman
c36f5fa33a
feat(chromium): roll to 833159 ( #4626 )
2020-12-07 15:55:22 -08:00
Dmitry Gozman
18b565a969
feat(selectors): correctly work in large DOM ( #4628 )
...
This adds a test, fixes a bunch of call stack issues and
improves performance in some places.
2020-12-07 15:51:44 -08:00
Andrey Lushnikov
73982834e7
devops: absolute paths for webkit libraries and output directory ( #4627 )
2020-12-07 14:30:06 -08:00
Andrey Lushnikov
20201310cb
feat(firefox): roll Firefox to r1218 ( #4620 )
...
Fixes #4297
2020-12-07 11:42:21 -08:00
Dmitry Gozman
e8dcd8767f
browser(chromium): build 833159 ( #4623 )
2020-12-07 10:58:07 -08:00
Andrey Lushnikov
e75ebc1752
browser(firefox): roll Firefox to Dec, 7 2020 ( #4622 )
2020-12-07 10:27:50 -08:00
Yury Semikhatsky
4be41f2571
browser(webkit): build fix, switch to the new download API ( #4621 )
2020-12-07 10:10:32 -08:00
Andrey Lushnikov
d8520f0695
devops: fix webkit building on windows ( #4618 )
2020-12-07 09:21:36 -08:00
Andrey Lushnikov
13e2ef1d10
devops: suppport WK_CHECKOUT_PATH variable ( #4617 )
...
`WK_CHECKOUT_PATH` defines location of webkit checkout on the
file system. All browser-related scripts, like `prepare_checkout.sh` and
`export.sh` respect this environment variable on all platforms.
2020-12-07 08:42:20 -08:00
Max Schmitt
71b7b488f4
chore: use Node.js 14 (new LTS) in Docker image ( #4262 )
...
Discussion / background: https://github.com/microsoft/playwright/pull/3642#issuecomment-686640755
Closes #4254
2020-12-06 18:24:27 -08:00
Dmitry Gozman
1e0ab79f9a
feat(selectors): add visible and index engines ( #4595 )
2020-12-06 15:03:36 -08:00
Pavel Feldman
a3a31bc837
doc: add the mobile.md doc ( #4612 )
2020-12-05 21:19:22 -08:00
Pavel Feldman
1717cbd3d5
doc: describe return value as a part of method ( #4608 )
2020-12-05 15:29:16 -08:00
Pavel Feldman
cdd9fd6b2e
test(click): add a failing test for click w/ scroll ( #4606 )
2020-12-04 20:54:10 -08:00
Andrey Lushnikov
6fe7d9c19f
devops: support FF_CHECKOUT_PATH to customize browser checkout ( #4607 )
...
**Preamble**
1. We're trying to setup a windows-based github self-hosted runner in the
playwright-internal repo.
1. Commands on Windows are mandated to have total arguments length
less then 32767 characters.
1. On windows, github self-hosted runner framework puts repository
checkout at `c:\w\playwright-internal\playwright-internal`
1. Our scripts create a checkout at
`c:\w\playwright-internal\playwright-internal\browser_patches\firefox\checkout`
1. One of the scripts in Firefox buildsystem tries to execute a command,
passing lots of absolute paths to various webidl's
1. The command fails due to restriction in (2)
**Problem**
Firefox build fails since checkout is deeply nested and hits max arg
size on windows.
**Solution**
This patch introduces a new variable `FF_CHECKOUT_PATH` that is
respected by all browser-related scripts. This way we'll be able
to checkout firefox to `c:\firefox` and avoid hitting long arguments
limit.
2020-12-04 18:46:20 -08:00
Pavel Feldman
96a1f79e96
docs: reformat api-body to allow multiline params documentation ( #4604 )
2020-12-04 18:05:35 -08:00
Yury Semikhatsky
b6eb8e0a90
browser(webkit): fix mac build ( #4605 )
2020-12-04 17:45:18 -08:00
Dmitry Gozman
8218a71a9b
feat(selectors): add more tests for css selectors ( #4596 )
2020-12-04 16:12:59 -08:00
Yury Semikhatsky
cdbc96ac3a
browser(webkit): roll to 12-04 ( #4601 )
2020-12-04 16:11:08 -08:00
Dmitry Gozman
aed3d14b81
test: unflake "should not result in unhandled rejection" ( #4602 )
2020-12-04 14:48:20 -08:00
Pavel Feldman
bf7dff80da
chore: remove the --only-update-browsers option
2020-12-04 12:22:34 -08:00
Pavel Feldman
20c17d5470
chore: fix the doclint tests
2020-12-04 12:10:44 -08:00
Andrey Lushnikov
7dc386fa1a
browser(webkit): produce xcode 12.2 build on Mac 10.15 ( #4599 )
2020-12-04 11:49:07 -08:00
Pavel Feldman
150d778ca7
docs: disambiguate events ( #4597 )
2020-12-04 11:09:20 -08:00
Andrey Lushnikov
8551fff43b
browser(firefox): disable cross-process navigation ( #4594 )
...
This disable cross-process navigation until we properly support it.
References #4297
2020-12-04 10:13:50 -08:00
Pavel Feldman
761b78efc0
docs: generate links based on the method names ( #4593 )
2020-12-04 09:03:33 -08:00
Dmitry Gozman
49a3f943b6
feat(selectors): switch to the new engine ( #4589 )
...
We leave old implementation under the boolean flag,
just in case we need a quick revert.
2020-12-04 06:51:18 -08:00
Westbrook Johnson
7213794a65
Correct typo in "emulateMedia" call example. ( #4592 )
2020-12-03 22:28:50 -08:00
Pavel Feldman
2452d07ff7
docs: generate method signatures in docs ( #4590 )
2020-12-03 22:28:11 -08:00
Pavel Feldman
0eb6f85617
docs: pretty-print api.md ( #4588 )
2020-12-03 18:05:36 -08:00
Pavel Feldman
5d47a9744c
docs: reformat template parameters ( #4587 )
2020-12-03 16:02:34 -08:00
Dmitry Gozman
016925cd16
feat(selectors): implement builtin selectors in new evaluator ( #4579 )
2020-12-03 14:10:40 -08:00
Dmitry Gozman
3121de403b
test: remove tests for SelectorEngine.create ( #4580 )
...
We are not going to keep this functionality on arbitrary engines.
2020-12-03 14:10:26 -08:00
Pavel Feldman
7e30669eb0
fix(binding): catch binding resolution against the closed page ( #4583 )
2020-12-03 10:51:59 -08:00
Pavel Feldman
5002b83b4a
test(focus): add a failing focus test ( #4581 )
2020-12-03 10:51:45 -08:00
Joel Einbinder
5a537413c9
fix(lint): property waitForResponse type ( #4582 )
2020-12-03 10:43:34 -08:00
Joel Einbinder
bc701629db
fix(doclint): exit 1 when doclint throws an error ( #4572 )
2020-12-03 09:21:56 -08:00
Max Schmitt
d2b7e0d1df
fix(types): add typed cb for Page.waitForResponse ( #4575 )
2020-12-03 09:20:53 -08:00
Pavel Feldman
95c502d274
docs: use templates to reuse documentation properties ( #4578 )
2020-12-03 09:11:48 -08:00
Andrey Lushnikov
31e22dee50
devops(win): fix paths to vswhere.exe in 64-bit shells ( #4577 )
...
The `$PROGRAMFILES` variable is defined per the bitness of the
application: 32-bit shells get `C:\Program Files (x86)`, whereas
64-bit shells get `C:\Program Files`.
Visual Studio, however, has only 32-bit build and is always located in
the `C:\Program Files (x86)` folder.
This patch fixes `//browser_patches/firefox/build.sh` on 64-bit windows
shell.
2020-12-03 08:09:05 -08:00
Dmitry Gozman
3d6194e8a1
feat(selectors): introduce css evaluator ( #4573 )
...
Not used for production yet.
2020-12-02 14:46:19 -08:00
Dmitry Gozman
52ae218bfc
fix(fill): allow filling more input types ( #4563 )
...
This includes invalid types that are no recognized by the browser.
2020-12-02 14:43:41 -08:00
Pavel Feldman
1fa7e86ea9
docs: generate api.md ( #4576 )
2020-12-02 13:50:10 -08:00
Pavel Feldman
f5c8e1d344
link: make lint happy
2020-12-02 13:48:44 -08:00
Joel Einbinder
3624e3e315
chore: add internal method for utility context bindings ( #4566 )
...
* internal binding extracted from dnd patch
* refactor it into the page
* dgozman comments 1
2020-12-02 13:43:16 -08:00
Pavel Feldman
1ca30fe6e7
chore: force lo dpi recording on non-mac ( #4557 )
2020-12-02 11:13:14 -08:00
Dmitry Gozman
a45532fd82
feat(selectors): update css parser ( #4565 )
...
This change requires string arguments to be quoted,
for example `:text("foo")` works but `:text(foo)` does not.
2020-12-02 08:16:02 -08:00
Dmitry Gozman
3846d05f02
feat(firefox): bump to 1217 ( #4560 )
...
Also add a test for multiple dialogs of the same type.
2020-12-01 14:40:03 -08:00
Joel Einbinder
9c677f64e0
feat(webkit): roll webkit to r1395 ( #4550 )
2020-12-01 05:26:53 -08:00
Dmitry Gozman
e8419f85b6
browser(firefox): support alertCheck and confirmCheck dialogs ( #4553 )
...
These are shown with "prevent this page from showing more dialogs" checkbox.
2020-11-30 20:05:15 -08:00