Dmitry Gozman
8c6c571f22
test: add iframe screenshot tests ( #2495 )
2020-06-09 12:59:49 -07:00
Pavel Feldman
9aa9d6bc1d
feat(downloads): accept downloads in persistent, allow specifying the downloadsPath ( #2503 )
2020-06-08 21:45:35 -07:00
Dmitry Gozman
ee3379a80f
browser(firefox): remove non-existing files from build ( #2507 )
2020-06-08 17:04:37 -07:00
Dmitry Gozman
55cfff38c6
fix(waitForFunction): handle predicate that throws ( #2488 )
...
Currently, we fail when the predicate throws on the first call,
and timeout when it fails on any other call.
There are two possible ways to handle throwing predicates:
- Fail waitForFunction if predicate throws once. This is good
since it gives you the error faster.
- Tolerate predicate exceptions. This is good because you do
not have to worry about non-initialized state during load.
This change implements the former.
2020-06-08 16:29:29 -07:00
Dmitry Gozman
ac88f98999
browser(firefox): properly hide scrollbars in all frames ( #2505 )
2020-06-08 15:54:47 -07:00
Pavel Feldman
4ec215a88b
browser(firefox): allow setting download behavior of default context ( #2502 )
2020-06-08 13:49:33 -07:00
Yury Semikhatsky
2250e9606f
browser(webkit): fix wpe build ( #2501 )
2020-06-08 12:50:06 -07:00
Andrey Lushnikov
946b4efa3b
fix(installer): create tmp directory inside browserPath
( #2498 )
...
`fs.rename` doesn't work across partitions, so we have to have
tmp folder next to our final destination.
Fixes #2494
2020-06-08 12:11:16 -07:00
Dmitry Gozman
bb4e959d2d
feat(debug): add note about DEBUG=pw:api to errors ( #2496 )
2020-06-08 11:41:09 -07:00
Yury Semikhatsky
4cac74f8c2
browser(webkit): continue screecast after cross-process navigation ( #2499 )
2020-06-08 10:53:09 -07:00
Dmitry Gozman
5c3a275270
feat(debug): improve api logs ( #2481 )
2020-06-06 20:59:06 -07:00
Andrey Lushnikov
d5c55749d8
chore: cut v1.1.0-post version ( #2491 )
2020-06-05 18:18:58 -07:00
Dmitry Gozman
b77a4b5840
test: increase total timeout when running multiple browsers ( #2490 )
2020-06-05 17:56:25 -07:00
Yury Semikhatsky
54f07f9bd6
test(capabilities): test that video tag can play video ( #2477 )
2020-06-05 17:39:24 -07:00
Andrey Lushnikov
3de0c087bc
feat: support atomic installation of browsers ( #2489 )
...
Currently, Ctrl-C while extracting browser might yield users in
a bad place.
This patch extracts browsers in a temp directory that is later
moved to a installer registry.
2020-06-05 16:26:32 -07:00
Joel Einbinder
28e0ce1bb1
feat(webkit): roll to 1269 ( #2486 )
2020-06-05 16:22:30 -07:00
Dmitry Gozman
3ec79e17fc
chore: simplify timeout handling in progress ( #2487 )
2020-06-05 15:53:30 -07:00
Dmitry Gozman
300099734c
chore: migrate waitForEvent to Progress ( #2483 )
...
Drive-by: remove/simplify some helper code.
2020-06-05 14:14:19 -07:00
Pavel Feldman
fb058ffe0d
feat(proxy): allow specifying proxy ( #2485 )
2020-06-05 13:50:15 -07:00
Yury Semikhatsky
71dd9c2f02
Revert "browser(webkit): exclude gstreamer, its plugins and libdrm fr… ( #2482 )
...
* Revert "browser(webkit): exclude gstreamer, its plugins and libdrm from webkit distribution (#2476 )"
This reverts commit fc2432a23a
.
* Update build num
2020-06-05 10:43:06 -07:00
Dmitry Gozman
87e0c96ef2
chore: inverse FrameTask callbacks/promises ( #2478 )
...
Alternative way to handle this indirection.
2020-06-05 10:06:59 -07:00
Dmitry Gozman
c08da50bb3
chore: introduce session.sendMayFail to ease error logging ( #2480 )
2020-06-05 07:50:26 -07:00
Yury Semikhatsky
fc2432a23a
browser(webkit): exclude gstreamer, its plugins and libdrm from webkit distribution ( #2476 )
2020-06-05 07:39:28 -07:00
Pavel Feldman
616ae5044d
browser(webkit): support bypass list on Mac ( #2479 )
2020-06-04 21:01:38 -07:00
Dmitry Gozman
1d37a10558
chore: migrate navigations to Progress ( #2463 )
2020-06-04 16:43:48 -07:00
Dmitry Gozman
724d73c03b
feat(debug): chromium debugging port ( #2246 )
...
This exposes Chromium remote debugging pipe under the port PLAYWRIGHT_CHROMIUM_DEBUG_PORT.
2020-06-04 16:40:07 -07:00
Andrey Lushnikov
a26311a18a
browser(firefox): support proxy bypass ( #2467 )
2020-06-04 16:07:45 -07:00
Dmitry Gozman
58e2ffc991
test: add more tests for text selectors in shadow dom ( #2473 )
2020-06-04 15:58:43 -07:00
Yury Semikhatsky
53f6caf57d
browser(webkit): manually reencode image as multiple frames ( #2470 )
2020-06-04 14:30:12 -07:00
Andrey Lushnikov
95ef71c43c
devops: support --juggler
argument for firefox/build.sh
script ( #2472 )
2020-06-04 14:26:51 -07:00
Pavel Feldman
c03b39a30e
browser(webkit): roll back to using same proxy for http & https ( #2471 )
2020-06-04 13:56:51 -07:00
Joel Einbinder
601eddfa98
browser(webkit): fix scrolling with mobile viewport ( #2468 )
2020-06-04 12:27:39 -07:00
Pavel Feldman
3dd1e40191
feat(all): roll CR:775089 FF:1101 WK: 1263 ( #2465 )
2020-06-04 09:26:56 -07:00
Andrey Lushnikov
3c9699dc7c
browser(firefox): support Browser.setProxy method in juggler ( #2464 )
...
This lets us support network proxies per browser context.
2020-06-04 08:52:43 -07:00
Dmitry Gozman
d5c992e1db
chore: unify evaluations across browsers even more ( #2459 )
...
This moves all the logic around UtilityScript to javascript.ts.
Also uncovers a bug in WebKit where we cannot returnByValue after navigation.
2020-06-03 17:50:16 -07:00
Yury Semikhatsky
1392dcd680
browser(webkit): add injected bundle to webkit distribution on linux ( #2461 )
2020-06-03 17:49:57 -07:00
Yury Semikhatsky
18aafc361f
fix(build): respect relative path in archive.sh ( #2462 )
2020-06-03 17:47:33 -07:00
Yury Semikhatsky
8149e1d9dd
build(webkit): inlcude libvpx.so.5 into the .zip ( #2458 )
2020-06-03 16:35:45 -07:00
Pavel Feldman
a55687d5f5
browser(webkit): pass proxy url as is for https support ( #2460 )
2020-06-03 15:11:50 -07:00
Dmitry Gozman
8e6375f532
chore: reduce the number of evaluate methods, improve types ( #2454 )
...
Types can now handle non-trivial tuples with handles inside.
2020-06-03 13:22:05 -07:00
Yury Semikhatsky
9158ca19a0
browser(webkit): roll to 06/03/20 ( #2457 )
2020-06-03 12:47:12 -07:00
Yury Semikhatsky
fcc5f75baa
Revert "browser(webkit): roll to 06/03/20 ( #2455 )" ( #2456 )
2020-06-03 12:21:27 -07:00
Yury Semikhatsky
09b277c3f6
browser(webkit): roll to 06/03/20 ( #2455 )
2020-06-03 12:10:08 -07:00
Dmitry Gozman
1accb5141d
chore: convert more actions to Progress ( #2444 )
2020-06-03 11:23:24 -07:00
Dmitry Gozman
f188b0a174
chore: migrate most actions to Progress ( #2439 )
2020-06-03 09:14:53 -07:00
Pavel Feldman
abfd278461
browser(webkit): allow setting proxy per browser context ( #2445 )
2020-06-03 08:41:43 -07:00
Yury Semikhatsky
a82139bc98
browser(webkit): fix windows and wpe builds ( #2443 )
2020-06-02 19:13:54 -07:00
Yury Semikhatsky
7edb6b94af
browser(webkit): configure video frame size over the protocol ( #2442 )
2020-06-02 18:40:16 -07:00
Andrey Lushnikov
a3f34fb4b7
chore: export juggler as a standalone folder for browser build ( #2432 )
...
This leaves our firefox diff to gecko instrumentation changes only.
Drive-by: rename webkit "src" folder into "embedder".
2020-06-02 16:51:13 -07:00
Yury Semikhatsky
8e8f9786a7
browser(webkit): scale screencast frames on resize ( #2441 )
2020-06-02 15:20:13 -07:00