Commit graph

1299 commits

Author SHA1 Message Date
Yury Semikhatsky a877c24f05
fix(route): throw on attempt to fulfill with redirect in WebKit (#4449) 2020-11-17 16:56:04 -08:00
Pavel Feldman ab4a627988
feat(webkit): roll to r1388 (#4464) 2020-11-17 08:09:26 -08:00
Joel Einbinder 93b6faeed2
test(chromium): disable webgl2 on headful (#4450) 2020-11-16 16:18:50 -08:00
Joel Einbinder 3da1f73f1d
test(chromium): disable large screenshot test (#4446) 2020-11-16 10:15:22 -08:00
Joel Einbinder 0ae455f404
test(tap): unflake chromium headful tap tests (#4431) 2020-11-16 10:14:37 -08:00
Yury Semikhatsky dfe3552b59
feat(route): support URL overrides in continue (#4438) 2020-11-16 09:59:00 -08:00
Yury Semikhatsky 732e83f48d
feat(webkit): bump to 1385 (#4430) 2020-11-13 16:29:20 -08:00
Yury Semikhatsky 914c6eec23
feat(firefox): bump to 1206 (#4425) 2020-11-13 15:21:16 -08:00
Pavel Feldman 9404d2abb6
fix(debug): do not generate source urls for anonymous scripts (#3691) 2020-11-13 14:47:55 -08:00
Pavel Feldman d20e56e197
feat(state): allow getting / setting context state (#4412) 2020-11-13 14:24:53 -08:00
Pavel Feldman a35d207091
test: fix resource timing for bigsur test (#4419) 2020-11-13 14:10:32 -08:00
Dmitry Gozman cd18ddb693
test: add a test for numerical id selector (#4429) 2020-11-13 11:47:44 -08:00
Yury Semikhatsky 5702eca1f2
fix(selectors): make selectOptions work for labels (#4402) 2020-11-11 15:33:23 -08:00
Dmitry Gozman 138680f93c
fix(launchServer): stream protocol logs into options.logger (#4403)
fix(launchServer): stream protocol logs into options.logger

This has regressed in v1.4.
2020-11-11 15:12:10 -08:00
Pavel Feldman 6b1d7dd1fd
test: add a failing test for post data header override (#4397) 2020-11-11 11:38:55 -08:00
Dmitry Gozman 488b256c47
feat(firefox): bump to 1205 (#4386) 2020-11-09 16:16:10 -08:00
Dmitry Gozman f7eb845df0
feat(firefox): bump to 1204, add a better test for video in popup (#4376) 2020-11-07 18:21:26 -08:00
Pavel Feldman 28f6547d67
chore: add adb-based connectivity (#4375) 2020-11-06 16:31:11 -08:00
Andrey Lushnikov fff36a7991
feat(firefox): roll Firefox to r1203 (#4365)
Fixes #4208
2020-11-05 23:17:27 -08:00
Dmitry Gozman c384313058
feat(fill): allow filling based on the label selector (#4342)
This enables filling the input based on the connected label:

```html
<label for=target>Name</label><input id=target>
```

```js
await page.fill('text=Name', 'Alice');
```
2020-11-05 05:22:49 -08:00
Joel Einbinder 3f37d8507e
test(focus): add passing test for focusing more than one page (#4347) 2020-11-04 22:42:35 -08:00
Joel Einbinder 4cb52144b5
test(capabilities): add tests for webgl (#4343) 2020-11-04 13:24:30 -08:00
Andrey Lushnikov 65009dc867
feat(chromium): roll Chromium to r823944 (#4341)
Fixes #4021
2020-11-04 11:20:02 -08:00
Yury Semikhatsky 14a8292863
feat(webkit): bump to 1378 (#4338) 2020-11-04 11:00:25 -08:00
Dmitry Gozman 78b151138e
test: try to unflake screenshot tests (#4334) 2020-11-04 07:39:08 -08:00
Dmitry Gozman 5c1149f954
test: try to unflake network idle tests (#4333)
I think that we are too slow to fire the second fetch during 500ms,
and so network idle happens prematurely.

The fix is to manually trigger the second fetch early enough.
2020-11-04 07:35:19 -08:00
Dmitry Gozman d57b43963c
fix(har): support har in persistent context (#4322) 2020-11-03 11:30:59 -08:00
Dmitry Gozman 924cc9894a
feat(text selector): normalize spaces in lax mode (#4312) 2020-11-03 04:37:06 -08:00
Andrey Lushnikov 8fed0b3319
feat(firefox): roll Firefox to r1200 (#4316)
This roll includes:
- fix for the firefox flakiness related to popups
- fix for browser context closing with beforeunload events

References #4021
2020-11-02 21:00:37 -08:00
Dmitry Gozman 1c39689dd6
api(videos): introduce a single recordVideo option bag (#4309)
api(videos): introduce a single recordVideo option bag

Currently contains `dir` and `size`, previously known as
`videosPath` and `videoSize`.
2020-11-02 19:42:05 -08:00
Andrey Lushnikov 3d3ce135f5
test: co-locate beforeunload tests (#4313)
This patch:
- co-locates beforeunload tests
- adds new tests to make sure browser and browsercontext can be closed if there's
  a page with beforeunload listener
- re-writes the `should access page after beforeunload` test to properly
  emit `beforeunload` event

References #4021
2020-11-02 17:29:35 -08:00
Dmitry Gozman f80f81545e
feat(chromium): bump to 823078 (#4308) 2020-11-02 14:34:08 -08:00
Pavel Feldman ac8ab1e1b5
feat(websocket): add WebSocket.waitForEvent and isClosed (#4301) 2020-11-02 14:09:58 -08:00
Dmitry Gozman c446bf629d
chore: cleanup some har code (#4306)
Drive-by: do not create <root>/file.png in the tests.
2020-11-02 13:38:55 -08:00
Pavel Feldman d117d0bb93
feat(scopes): make page a scope (#4300) 2020-11-02 13:06:54 -08:00
Dmitry Gozman 9c80cbdf9e
fix(docs): small docs changes for new apis (#4305) 2020-11-02 12:48:05 -08:00
Pavel 5a9ba55ee2 test: remove stale describe 2020-10-30 13:38:54 -07:00
Pavel c9fa8c08e3 fix(test): unflake web socket test on firefox 2020-10-30 12:45:53 -07:00
Andrey Lushnikov 7fbbd1822e
feat(firefox): support WebSockets on Firefox (#4289) 2020-10-30 10:34:24 -07:00
Pavel Feldman 914f6372ec
feat(proxy): enable per-context http proxy (#4280) 2020-10-29 16:12:30 -07:00
Pavel Feldman aee9068d76
test: mark flake headful chromium test as fixme (#4276) 2020-10-28 16:00:41 -07:00
Pavel Feldman f384a864a8
test(har): uncomment some raw header tests (#4273) 2020-10-28 15:58:45 -07:00
Pavel Feldman 7bedbb2d78
feat(browser): roll WebKit to r1370 (#4257) 2020-10-28 13:46:05 -07:00
Pavel Feldman 0b8c33ee75
fix(ECONRESET): fix it once and for all (#4258) 2020-10-27 11:09:41 -07:00
Max Schmitt dcbdb4a6b0
test: fixed executable path test if ran in Docker (#4219) 2020-10-27 00:04:39 -07:00
Pavel Feldman 1ef090c3ac
fix(screenshot): prioritize passed type over the extension mime (#4251) 2020-10-27 00:02:35 -07:00
Pavel Feldman be8428475d
feat(websocket): implement Web Sockets for Chromium & WebKit (#4234) 2020-10-26 22:20:43 -07:00
Pavel Feldman 7fc4b797eb
feat(har): allow saving har for context (#4214) 2020-10-26 14:32:07 -07:00
Pavel Feldman ba7949359f
chore: roll folio to 0.3.13 (#4215) 2020-10-23 12:39:46 -07:00
Pavel Feldman 14f069eac6
test(timing): relax mac/webkit expectations (#4217) 2020-10-23 12:38:32 -07:00