Commit Graph

4474 Commits

Author SHA1 Message Date
Dmitry Gozman
ce96914292
fix(remote): unregister selectors after client disconnect (#6195) 2021-04-16 11:14:57 -07:00
Joel Einbinder
ce0098d9eb
devops(chromium): build a new Chromium Dev 870763 (#6203) 2021-04-15 11:58:09 -07:00
Dmitry Gozman
e81a3c5901
api: add option position to check/uncheck (#6153)
Since check/uncheck does click under the hood, sometimes it might
need to click at a different position. One example would be a long
label that contains links inside, and clicking in the center happens
to hit the link instead of the label itself.
2021-04-12 12:41:25 -07:00
Yury Semikhatsky
96cee43861
browser(webkit): roll to safari-612.1.11-branch (#6185) 2021-04-12 12:38:11 -07:00
Dmitry Gozman
fff1f3d45c
chore: simplify remote connection protocol (#6164)
This changes the root object from RemoteBrowser to Playwright,
similar to local driver connection. This way, any remote connection
gets a Playwright object.

This also starts reusing PlaywrightServer class, and introduces
`cli run-server` hidden command that runs ws server on the
specified port.

Previous structure:
```
RemoteBrowser
  - browser (using ConnectedBrowser for remote-specific behavior)
  - selectors (special instance for this remote connection)
```

New structure:
```
Playwright
  - ...
  - selectors (special instance for this remote connection)
  - preLaunchedBrowser (using ConnectedBrowser for remote-specific behavior)
```
2021-04-12 11:14:54 -07:00
Darío Kondratiuk
c4c9809f85
docs: move waitUntil doc before timeout (#6138) 2021-04-12 09:18:18 -07:00
Darío Kondratiuk
cd2490424e
chore(dotnet): waitForCloseAsync (#6184) 2021-04-12 09:11:29 -07:00
Darío Kondratiuk
610d1fd456
docs: fix typo on waitForConsoleMessage (#6183) 2021-04-12 09:10:05 -07:00
Joel Einbinder
b3b87f6c69
fix(codegen): ignore AltGraph when typing (#6086) 2021-04-12 09:00:29 -07:00
Dmitry Gozman
b62a436041
feat(selectors): support max distance in layout selectors (#6172)
Supports `div:near(button, 120)` with configurable distance in pixels.
2021-04-10 15:20:26 -07:00
Andrey Lushnikov
82e8c7226d
devops: fix firefox-stable build script (#6175)
The old mach used `--no-interactive` flag at a different place.
2021-04-09 22:36:24 -07:00
Andrey Lushnikov
ad8b43467e
devops: trigger Firefox Stable builds (#6174)
References #5993
2021-04-09 22:27:02 -07:00
Andrey Lushnikov
17c6406e6c
devops: add firefox-stable channel browser (#6173)
This adds a firefox-stable application to build on our bots.
This is basically a rebaselined version of 66541552d0

The firefox base revision is bb9bf7e886
Which is taken from `about://buildconfig` of a stable Firefox version
on Mac as of Apr 9, 2021.

References #5993
2021-04-09 22:13:19 -07:00
Ross Wollman
bba7ca34c8
feat(chromium): roll to r869727 (#6170)
Fixes #5952
Fixes #6016
2021-04-09 20:57:41 -07:00
Yury Semikhatsky
994939f86d
feat(webkit): bump to 1462 (#6169) 2021-04-09 14:52:17 -07:00
Yury Semikhatsky
f3b44d18be
fix(screencast): wait for ffmpeg to finish before reporting video (#6167) 2021-04-09 14:09:45 -07:00
Ross Wollman
957abc49e9
devops(chromium): build a new Chromium Dev 869727 (#6149) 2021-04-09 11:54:14 -07:00
Yury Semikhatsky
5fe3ee13f0
browser(webkit): fix assertion unsafe to ref/deref from different threads (#6163) 2021-04-09 11:36:01 -07:00
Anže Vodovnik
e26d98d6de
docs(csharp): add viewport back (#6161) 2021-04-09 11:08:33 -07:00
Andrey Lushnikov
ec07a581f7
test: disable test on mac 10.14 (#6157) 2021-04-09 08:54:18 -07:00
Dmitry Gozman
bd8433ba49
test: cleanup various testing env variables (#6155) 2021-04-09 07:59:09 -07:00
Andrey Lushnikov
856ced6e65
tests: attribute electron tests to electron on the dashboard (#6156) 2021-04-08 23:19:36 -07:00
Yury Semikhatsky
f6606d505b
fix: finish all artifacts when browser exits (#6151) 2021-04-08 18:56:09 -07:00
Yury Semikhatsky
16c8fe74ed
docs: fix typo in language filter (#6154) 2021-04-08 17:40:34 -07:00
Pavel Feldman
e6f5ce9044
chore: allow running multiple snapshotters for tests (#6147) 2021-04-08 17:27:55 -07:00
Dmitry Gozman
db09275d89
docs: reject -> throw, fix small typos (#6152) 2021-04-08 16:42:45 -07:00
Joel Einbinder
63d0d466e3
feat(cdp): replace wsEndpoint with protocol neutral endpointURL (#6141) 2021-04-08 14:55:28 -07:00
Yury Semikhatsky
53d50f9b72
fix(screencast): properly stop screencast on context closure (#6146) 2021-04-08 14:01:05 -07:00
Yury Semikhatsky
f7e7ea93e2
chore: skip click test based on the browser version (#6127) 2021-04-08 10:32:16 -07:00
Yury Semikhatsky
476ff21724
feat(webkit): bump to 1461 (#6143) 2021-04-08 10:31:36 -07:00
Joel Einbinder
779355ad51
feat(types): make the template on BrowserType optional (#6142)
This makes it much nicer to use `BrowserType` because it no longer has a template.

Technically a breaking change because of the rare edge case where someone used their own non-browser type inside the template, but I don't consider that intended behavior and think this is fine.
2021-04-08 10:27:24 -07:00
Dmitry Gozman
310692b101
test: run page tests on electron bot (#6122) 2021-04-08 10:26:26 -07:00
Pavel Feldman
d9546fd098
chore: read all traces from the folder (#6134) 2021-04-08 07:59:05 -07:00
Darío Kondratiuk
e82b546085
docs(dotnet): generate arguments in a consistent order (#5800) 2021-04-08 14:21:10 +02:00
Andrey Lushnikov
632ff111d4
test: properly annotate Android tests for flakiness dashbboard (#6133) 2021-04-07 19:58:49 -07:00
Yury Semikhatsky
bd0043b8cb
browser(webkit): keep browser process running when all windows closed (#6131) 2021-04-07 19:13:20 -07:00
Pavel Feldman
d0db4f6737
feat: include screencast in trace (#6128) 2021-04-07 14:32:12 -07:00
Andrey Lushnikov
0c00891b80
devops: prepare flakiness dashboard cloud function to Android tests (#6129) 2021-04-07 12:09:17 -07:00
Yury Semikhatsky
09c175914e
feat(webkit): bump to 1460 (#6124) 2021-04-07 08:55:16 -07:00
Anže Vodovnik
b37116d7b1
chore(dotnet): fix generating from parent directory (#6095) 2021-04-07 17:17:57 +02:00
Dmitry Gozman
ee44fbe2bc
devops: upload test results for android bots (#6121) 2021-04-07 08:07:31 -07:00
Andrey Lushnikov
6ff209cdb3
fea(firefox): roll Firefox to r1245 (#6114)
Just a healthy roll.
2021-04-07 08:04:52 -07:00
Andrey Lushnikov
2897df693f
devops: restore flakiness dashboard upload (#6116) 2021-04-06 22:46:52 -07:00
Yury Semikhatsky
d6c415749a
browser(webkit): fix curl compilation (#6115) 2021-04-06 22:24:14 -07:00
Yury Semikhatsky
cdbf52f68d
docs: add basic intro page for C# (#6110) 2021-04-06 22:23:55 -07:00
Yury Semikhatsky
83c7a3ba26
docs: pass wsEndpoint as param in java (#6112) 2021-04-06 17:33:49 -07:00
Andrey Lushnikov
4bec81b111
browser(firefox): roll Firefox to beta @ Apr 6, 2021 (#6111) 2021-04-06 17:25:18 -07:00
Yury Semikhatsky
4bd7467942
docs: add missing connectOverCDP.wsEndpoint param in java (#6109) 2021-04-06 17:08:40 -07:00
Dmitry Gozman
36a546999e
test: roll to folio 0.3.21-alpha (#6108) 2021-04-06 16:09:54 -07:00
Pavel Feldman
0dfde2e975
fix(screenshot): never throw page is navigating (#6103) 2021-04-06 16:01:38 -07:00