Commit Graph

4446 Commits

Author SHA1 Message Date
Pavel Feldman
17e966bc2e Revert "fix: break require cycle (#6353)"
This reverts commit 0bcfa92360.

Inspector no longer opens.
2021-04-28 22:10:50 -07:00
Dmitry Gozman
0bcfa92360
fix: break require cycle (#6353)
We have `CRBrowserContext` that extends `BrowserContext`, and
it sometimes fails beacause `BrowserContext` is undefined, depending
on the require order. Below is the require cycle.

```log
server/browserContext.ts
server/supplements/recorderSupplement.ts
server/supplements/recorder/recorderApp.ts
server/playwright.ts
server/android/android.ts
server/chromium/crBrowser.ts
server/browserContext.ts
```

Fixing this by using `require`.
2021-04-28 20:39:01 -07:00
Yury Semikhatsky
560bea5f8d
fix: do not close stream until all bytes have been read (#6351) 2021-04-28 14:54:51 -07:00
Yury Semikhatsky
3b1bfdff48
devops(chromium): build a new Chromium 876873 (#6349) 2021-04-28 10:19:07 -07:00
Yury Semikhatsky
369bd55e78
feat(webkit): bump to 1468 (#6345) 2021-04-28 09:14:56 -07:00
Max Schmitt
1b771ed360
docs(python): add Error base class (#6315) 2021-04-28 10:41:46 +02:00
Yury Semikhatsky
0039b313b8
browser(webkit): support downloads larger than 16Kb on Windows (#6343) 2021-04-27 16:21:23 -07:00
Yury Semikhatsky
341357461a
feat(webkit): bump to 1467 (#6295) 2021-04-27 11:45:08 -07:00
Pavel Feldman
922d9ce1fb
chore(tracing): fix some of the start/stop scenarios (#6337) 2021-04-27 11:07:07 -07:00
Joel Einbinder
abb61456d1
docs(keyboard): clarify how page.type works for non-US characters (#6273) 2021-04-26 20:54:40 -07:00
Yury Semikhatsky
83480850d3
browser(webkit): preserve color scheme override after navigation (#6333) 2021-04-26 16:23:07 -07:00
Yury Semikhatsky
5be005b1c6
Revert "fix: increas recent logs buffer (#6330)" (#6332)
This reverts commit 3c126024ca.
2021-04-26 16:20:49 -07:00
Yury Semikhatsky
b6b2366d2c
fix: browser logging (#6331) 2021-04-26 16:20:38 -07:00
Yury Semikhatsky
3c126024ca
fix: increas recent logs buffer (#6330) 2021-04-26 13:58:52 -07:00
Joel Einbinder
a51dc50d85
fix(accessibiltiy): ignore new roles that came with new chromium (#6329) 2021-04-26 12:02:54 -07:00
Andrey Lushnikov
f4b8c3a848
browser(firefox): disable proton UI for now (#6327)
The new Proton UI breaks certain screencast tests. Disable
this for now.
2021-04-26 10:59:12 -07:00
Kumar Aditya
2f290cc9be
fix: fix docs for BrowserType headers (#6314) 2021-04-26 08:58:01 -07:00
Dmitry Gozman
ce0331038b
docs: add route example with some logic (#6324) 2021-04-26 08:46:17 -07:00
Pavel Feldman
be27f47309
feat(tracing): introduce context.tracing, allow exporting trace (#6313) 2021-04-24 20:39:48 -07:00
Pavel Feldman
a9219aa8b6
chore: start / stop context tracing (#6309) 2021-04-23 20:39:09 -07:00
Pavel Feldman
97cf86d20a
chore: make instrumentation per-context (#6302) 2021-04-23 18:34:52 -07:00
Dmitry Gozman
10c76ff56f
browser(firefox): fix race between idleTasksFinishedPromise and window closure (#6308) 2021-04-23 16:05:37 -07:00
Yury Semikhatsky
d31107f342
fix(docs): make headers and option, not param (#6307) 2021-04-23 15:27:14 -07:00
Yury Semikhatsky
fd31ea8b0d
feat: support extra http headers in browserType.connect() (#6301) 2021-04-23 14:52:27 -07:00
Andrey Lushnikov
83758fa48c
devops: add swiftshader DLL to chromium archive (#6305) 2021-04-23 14:36:45 -07:00
Yury Semikhatsky
f63f92be5e
chore: repair run_static_server.js (#6298) 2021-04-23 11:42:54 -07:00
dependabot[bot]
a1f9152f27
chore(deps): bump ssri from 6.0.1 to 6.0.2 (#6299) 2021-04-23 10:30:39 -07:00
Yury Semikhatsky
cc4782a718
Revert "fix(chromium): force --use-gl=swiftshader on Windows (#6272)" (#6300)
This reverts commit 357224d6b1.
2021-04-23 10:09:55 -07:00
Pavel Feldman
0ed328f6de
chore(tracing): include events in the trace (#6285) 2021-04-23 09:28:18 -07:00
Yury Semikhatsky
6d38b10603
chore: abbreviate roll-browser to roll (#6296) 2021-04-23 09:23:01 -07:00
Dmitry Gozman
ff147b0007
docs: update waitForRequest/Response snippets (#6294) 2021-04-23 08:53:25 -07:00
Anže Vodovnik
6e9b76fa8f
chore(dotnet): enable nullable enum arguments (#6271) 2021-04-23 11:22:38 +02:00
Andrey Lushnikov
7a3f8ef7b3
feat(firefox-stable): roll to r1244 @ v88.0 (#6280) 2021-04-22 20:24:41 -07:00
Andrey Lushnikov
cffab1f5c7
chore: update //utils/roll_browser.js script to roll anything (#6279) 2021-04-22 17:45:34 -07:00
Andrey Lushnikov
531bf4dc19
browser(chromium): roll Chromium to new Dev (#6283) 2021-04-22 17:38:53 -07:00
Joel Einbinder
f9478b124f
browser(webkit): fix compilation for drag drop and duplicated macro (#6278) 2021-04-22 17:05:17 -07:00
Yury Semikhatsky
2755d5e37d
browser(webkit): fix timezone override on Windows (#6277) 2021-04-22 16:10:12 -07:00
Andrey Lushnikov
111e55992e
devops: roll Chromium to r871980 (#6275)
NOTE: this is a non-dev revision. We roll to it to make sure
that swiftshader issues are fixed now.

See https://crbug.com/1200964
2021-04-22 15:03:48 -07:00
Andrey Lushnikov
59d1d2df2f
devops: add swiftshader file to Chromium builds (#6274)
See https://chromium-review.googlesource.com/c/chromium/src/+/2845811
2021-04-22 14:55:53 -07:00
Max Schmitt
97b485bd74
docs(python): add BrowserType.connectOverCDP (#6270) 2021-04-22 19:13:19 +02:00
Yury Semikhatsky
357224d6b1
fix(chromium): force --use-gl=swiftshader on Windows (#6272) 2021-04-22 10:06:39 -07:00
Yury Semikhatsky
3a93c419f8
chore: remove stack from WaitForEventInfo (#6259) 2021-04-22 10:05:37 -07:00
Pavel Feldman
fe4fba4a16
chore: extract debugger model from inspector (#6261) 2021-04-21 20:46:45 -07:00
Yury Semikhatsky
34e03fc77d
browser(webkit): roll to 04-21 (#6257) 2021-04-21 13:00:36 -07:00
Max Schmitt
7053ac9097
chore(types): add channel to launchServer (#6256) 2021-04-21 21:23:08 +02:00
Dmitry Gozman
6bdc67ac6a
feat(actions): trial option that only performs the checks (#6246)
Available for check, click, dblclick, hover, tap, uncheck.
2021-04-21 12:22:19 -07:00
Dmitry Gozman
640b10c70f
fix(codegen): missing await before newPage.goto (#6253) 2021-04-21 07:59:38 -07:00
Pavel Feldman
85e2db2416
chore: push dispatcher guid into object, reuse it in trace (#6250) 2021-04-20 23:03:56 -07:00
Dmitry Gozman
06b0619260
fix(codegen): do not commit last action on mouse move (#6252)
On a slow page that does a lot of things before navigating upon click,
it is common to move mouse away from the click point. Previously,
we would commit the click action and record a `page.goto()` for the
navigation. Now we attribute any signals, even after accidental mouse move,
to the previous action, in the 5-seconds time window.
2021-04-20 18:45:52 -07:00
Andrey Lushnikov
faf39a23ac
devops: fix firefox-stable roll build (#6255) 2021-04-20 16:55:35 -07:00