Commit Graph

4477 Commits

Author SHA1 Message Date
Dmitry Gozman
b81238ca61
test: migrate fixtures.spec.ts to use beforeEach/afterEach (#6029) 2021-03-31 19:38:06 -07:00
Yury Semikhatsky
16d98cb48a
chore(launcher): add more logging to processKill (#6025) 2021-03-31 12:17:16 -07:00
Andrey Lushnikov
f472c96129
feat: support webkit technology preview (#5885)
This patch adds support for `technology preview` webkit channel, which
we will keep close to the actual Safari Technology Preview releases.

This channel does not install by default. It is supposed to be installed
with the following CLI command:

```sh
$ npx playwright install webkit-technology-preview
```

Once the channel is installed, it can be used the following way:

```js
const browser = await playwright.webkit.launch({
  channel: 'technology-preview',
});
```

**NOTE:** if clients attempt using the channel without installing it,
it'll throw an error with a copyable instructions to install via CLI.

References #5884
2021-03-31 11:32:10 -07:00
Dmitry Gozman
9d9599c6a6
api(video): implement video.saveAs and video.delete (#6005)
These methods are safe to call while the page is still open, or when it is
already closed. Works in remotely connected browser as well.

Also makes video.path() to throw for remotely connected browser.

Under the hood migrated Download and Video to use the common Artifact object.
2021-03-31 10:38:05 -07:00
Yury Semikhatsky
9532d0bde0
feat(webkit): bump to 1457 (#6021) 2021-03-31 10:29:43 -07:00
Yury Semikhatsky
587682e024
feat(chromium): bump to r865012 (#5963)
References #5858

Co-authored-by: Andrey Lushnikov <lushnikov@chromium.org>
2021-03-31 09:51:18 -07:00
Max Schmitt
26f9e29623
docs(route): add note about unroute (#6019) 2021-03-31 09:23:17 -07:00
Pavel Feldman
2f5bf04f51 browser(webkit): fix double deref 2021-03-31 00:12:11 -07:00
Pavel Feldman
3455c3265f browser(webkit): restore occlusion detection disabled 2021-03-30 23:52:11 -07:00
Dmitry Gozman
ceb4bc25d9
test: add a test for hidden shadow host (#6008) 2021-03-30 21:53:56 -07:00
Max Schmitt
ba89603b08
test: add test for new RTCPeerConnection() (#6013) 2021-03-30 21:53:20 -07:00
Pavel Feldman
85ab1dc7a4
feat(waitForURL): add a new waitForURL api (#6010) 2021-03-30 21:51:22 -07:00
Dmitry Gozman
98f1f715c5
chore: ensure we emit Page event before resoliving pageOrError (#6012)
Internal callers of pageOrError should be able to rely on the
Page being already reported.
2021-03-30 17:35:42 -07:00
Ross Wollman
36d2d93e1a
fix(firefox): roll Firefox to 1239 (#6007)
Re-enable now passing SVG Favicon prefes-color-scheme
test.

Fixes #5977
2021-03-30 17:27:47 -07:00
Alex Plischke
72a2dff538
Add Sauce Labs showcase (#5990) 2021-03-30 15:09:37 -07:00
Yury Semikhatsky
93d532b5e1
browser(webkit): fix windows compilation (#6011) 2021-03-30 14:42:23 -07:00
Yury Semikhatsky
97955247a2
browser(webkit): roll to safari-612.1.9-branch (#6002) 2021-03-30 11:29:37 -07:00
Yury Semikhatsky
77993c3ebb
fix(installer): add libx11-xcb1 to the list of chromium deps (#6003) 2021-03-30 11:29:21 -07:00
Yury Semikhatsky
94252231f0
fix(devops): include libANGLE-shared.dylib into mac archive (#6004) 2021-03-30 11:29:03 -07:00
Yury Semikhatsky
0d3d27d3ee
browser(webkit): trigger new build after updating cleanup script (#5997) 2021-03-29 23:55:07 -07:00
Yury Semikhatsky
28b14fc5f7
feat(docker): use playwright install-deps for building docker image (#5995) 2021-03-29 23:48:54 -07:00
Yury Semikhatsky
9473f39b0b
fix(devops): cleanup now removes entire webkit build dir on mac (#5996) 2021-03-29 23:48:34 -07:00
Joel Einbinder
061f9ea68a
test: failing test for websockets + offline context (#4912) 2021-03-29 20:24:12 -07:00
Darío Kondratiuk
fdb3c1f153
chore(dotnet): don't generate set only properties (#5982) 2021-03-29 20:06:44 -07:00
Darío Kondratiuk
5c1e8dcd80
chore(dotnet): fix properties with Is prefix (#5981) 2021-03-29 20:05:51 -07:00
Ross Wollman
ca7cd7a677
devops: skip flakiness upload for forks (#5978)
Before this change, forks face a noise from pipeline
failures trying to upload to the flakiness dashboard.

Example: https://github.com/rwoll/playwright/runs/2199170557
2021-03-29 20:05:10 -07:00
Ross Wollman
0b6625bbad
docs: fix HEADFUL run instructions (#5980) 2021-03-29 20:04:44 -07:00
Ross Wollman
6d6f802e5a
fix: favicon with color pref crashes firefox (#5977) (#5979) 2021-03-29 14:53:18 -07:00
Pavel Feldman
f1c0d09765
feat(size): emulate window.screen size (#5967) 2021-03-29 14:10:58 -07:00
Yury Semikhatsky
8c6822bd32
fix(docker): update native deps and docker files for chromium (#5989) 2021-03-29 13:43:31 -07:00
Mosan
2262d8739f
Update nativeDeps.ts (#5988) 2021-03-29 12:19:34 -07:00
Pavel Feldman
4cf0568ad7
browser(webkit): support safe area insets (#5987) 2021-03-29 11:38:26 -07:00
Darío Kondratiuk
bc6dc1d108
chore(dotnet): treat file as a reserved word (#5960)
Avoid collision with System.IO.File and unify handling reserved file names and enum values.
2021-03-29 10:22:06 +02:00
Yury Semikhatsky
0943af2806
fix: kill browser if process doesnt exit for 30s after close (#5968) 2021-03-27 09:59:04 -07:00
Darío Kondratiuk
779037a77e
chore(dotnet): avoid adding two prefixes (#5974) 2021-03-27 09:58:36 -07:00
Pavel Feldman
49bbc2bc76
test(proxy): add a failing test for HTTPS proxy CONNECT User Agent (#5972) 2021-03-26 22:26:39 -07:00
Yury Semikhatsky
2cce8850b7
browser(webkit): roll to safari-612.1.8-branch (#5965) 2021-03-26 11:54:55 -07:00
Max Schmitt
dfe07818e6
docs: fixed various typos (#5958) 2021-03-26 10:47:16 -07:00
Darío Kondratiuk
475a6fe391
chore(dotnet): use csharp types in Frame and Page (#5961) 2021-03-26 10:45:50 -07:00
Dmitry Gozman
12e00629e4
docs: update channels doc to mention manual installation (#5964) 2021-03-26 10:20:21 -07:00
Pavel Feldman
6c1d3f65b5
browser(webkit): refresh embedder UI on macOS (#5957) 2021-03-26 09:44:31 -07:00
Joel Einbinder
3ce02a95c8
fix(selectors): properly generate selectors for tricky ids (#5940) 2021-03-25 18:43:33 -07:00
Ross Wollman
0120896771
test: interception breaks remote importScripts (#5953) 2021-03-25 17:16:41 -07:00
Pavel Feldman
0076e46e57
chore: remove stray test logs (#5955) 2021-03-25 17:15:04 -07:00
Yury Semikhatsky
5872d0407a
browser(chromium): build current dev chromium (865012) (#5950) 2021-03-25 09:31:41 -07:00
Darío Kondratiuk
f791495624
chore(dotnet): Improve enum values (#5939) 2021-03-25 16:45:41 +01:00
Max Schmitt
601c09f7f1
docs(page): remove note that screenshot takes 1/6+s (#5945) 2021-03-24 20:02:14 -07:00
Andrey Lushnikov
4fea83c6d8
docs: commit new release notes (#5944) 2021-03-24 14:51:28 -07:00
Dmitry Gozman
6b3f4cd12b
chore: calculate video size in a single place (#5942) 2021-03-24 10:56:20 -07:00
Dmitry Gozman
8e97607389
fix(viedo): do not stall video in popups (#5941)
There are two problems, exposed by existing tests:

- We do not send Page.startScreeencast before Runtime.runIfWaitingForDebugger
  because we launch video recorder in between. This stalls when the page is busy
  immediately after resuming, e.g. with alert().
  Fixed by starting video recorder in advance.

- We wait for the first frame that may not come - for example, context-wide interception
  is blocking essential resource and first frame.
  Fixed by only waiting for the first frame before reporting the video, not the page.
2021-03-24 09:36:46 -07:00