Pavel Feldman
6576bd8b31
chore: move before/after action instrumentation into dispatcher ( #5416 )
2021-02-10 21:55:46 -08:00
Pavel Feldman
6e6e36b565
chore: move progress log into the metadata ( #5411 )
2021-02-10 21:50:29 -08:00
Pavel Feldman
a164f2a810
chore: make instrumentation multiplexing proxy-based ( #5410 )
2021-02-10 21:44:22 -08:00
Pavel Feldman
a06cf70d28
chore: pass parsed stack in metainfo ( #5407 )
2021-02-10 18:52:28 -08:00
Joel Einbinder
fa8e898c3c
fix(test): missing test coverage for browserType.connectOverCDP ( #5408 )
2021-02-10 16:22:18 -08:00
Yury Semikhatsky
60e9216ebb
docs: change page error type to string ( #5412 )
2021-02-10 16:12:04 -08:00
Yury Semikhatsky
d39d2eaf4c
docs: support method overrides ( #5405 )
2021-02-10 14:27:20 -08:00
Joel Einbinder
dca70abbd3
feat(chromium): connect to a browser over cdp ( #5207 )
2021-02-10 14:00:02 -08:00
Yury Semikhatsky
a8ebe4d888
fix(screencast): support viewport with odd dimensions ( #5399 )
2021-02-10 13:37:27 -08:00
Yury Semikhatsky
7933cfc7df
docs: inline Location methods into ConsoleMessage in java ( #5402 )
2021-02-10 12:54:44 -08:00
Dmitry Gozman
b4b14eab69
chore: refactor actionability checks ( #5368 )
2021-02-10 12:36:26 -08:00
Dmitry Gozman
38209c675c
fix(selector generator): correct nth-match, remove label treatment, performance ( #5388 )
...
- Remove label retargeting, as it does not play nicely with recorder.
- nth-match() is now correctly chained.
- Performance improvements around parent selectors and regex text matches.
2021-02-10 12:31:50 -08:00
Yury Semikhatsky
90dbe35df0
docs: exclude recordHar field from java ( #5401 )
2021-02-10 11:41:55 -08:00
Andrey Lushnikov
009765d719
devops: upload flakiness dashboard for release branches too ( #5392 )
...
There are no reasons to not upload test results for release branches.
2021-02-10 09:19:10 -08:00
Andrey Lushnikov
d21d24486c
test: mark failing test as fixme ( #5397 )
...
The test has been failing since recently:
http://flaky.aslushnikov.com#commits=20×tamp=1612958811899&filter_spec=popups+2
2021-02-10 09:04:08 -08:00
Dmitry Gozman
c12374ea07
feat(docs): improve link validation ( #5394 )
2021-02-10 07:13:14 -08:00
Dmitry Gozman
78ab2955f3
fix(isVisible): do not wait for the selector to be resolved ( #5393 )
2021-02-10 07:12:43 -08:00
Dmitry Gozman
4d4efccb3e
docs: add release notes doc ( #5391 )
2021-02-09 21:44:16 -08:00
Dmitry Gozman
6a98241ac5
feat(selectors): speed up text selector ( #5387 )
...
- Do not check children when parent does not contain the text we look for.
- Minor caching improvements in evaluator.
This gives up to 5X performance boost on text-heavy pages.
2021-02-09 21:31:46 -08:00
Yury Semikhatsky
716bd4211d
docs: spread RecordHar options in java ( #5390 )
2021-02-09 17:33:28 -08:00
Yury Semikhatsky
152701a273
docs: rename viewport option to viewportSize in java, C# ( #5383 )
2021-02-09 16:50:32 -08:00
Yury Semikhatsky
3695dab1d5
docs: split RecordVideo object into dir and size options in java ( #5389 )
2021-02-09 16:44:50 -08:00
Andrey Lushnikov
e2013b29e3
devops: fix driver publish
2021-02-09 17:02:24 -07:00
Pavel Feldman
2e01fbdbec
chore: introduce instrumentation api ( #5385 )
2021-02-09 14:44:48 -08:00
Andrey Lushnikov
1240dd48cb
devops: start publishing canary at midnight every day ( #5343 )
...
This patch:
- starts publishing canary NPM package at 00:10AM UTC
- canary version is published from default (`master`) branch and is
named with a date. E.g. for a version published on Feb 5, 2021, the
version would be `1.8.0-alpha-feb-5-2021`
- versions from release branches are still published on every commit and have the
regular commit timestamp suffix
2021-02-09 14:28:04 -08:00
Yury Semikhatsky
adeb2348cf
docs: change WebSocket.frame* event type to WebSocketFrame in java ( #5384 )
2021-02-09 12:11:48 -08:00
Andrey Lushnikov
206432cefd
devops: fix goma startup on windows
2021-02-09 11:00:53 -07:00
Andrey Lushnikov
db633c4491
devops: fix args.gn syntax with goma
2021-02-09 10:11:03 -07:00
Andrey Lushnikov
32d62a5c2d
devops: fix goma path on windows ( #5381 )
...
Convert unix path to win path when running GOMA on windows.
2021-02-09 09:06:50 -08:00
Pavel Feldman
0652f3251f
chore: introduce sdk object base class ( #5370 )
2021-02-09 09:00:00 -08:00
Andrey Lushnikov
909544907c
devops: rename env variable ( #5379 )
...
goma searches for all `GOMA_*` env variables and fails if it doesn't
understand any.
To avoid this, rename our `GOMA_LOGIN_COOKIE` env variable into a
`PLAYWRIGHT_GOMA_LOGIN_COOKIE`.
2021-02-09 08:56:29 -08:00
Andrey Lushnikov
d5a51a25b0
devops: fix chromium-win build ( #5378 )
...
- add missing build targets
- do not copy *.pdb files in folders
2021-02-09 08:49:59 -08:00
Andrey Lushnikov
1efcf442fb
test: disable test on all bigsur ( #5375 )
...
Certain GitHub Macs got accidentally updated from 11.0 to 11.2,
which broke this test check.
2021-02-09 08:33:56 -08:00
Andrey Lushnikov
ad557dc6da
devops: introduce goma infrastructure for Chromium builds ( #5377 )
...
This patch adds `//browser_patches/chromium/goma.sh` script that
manages goma to build chromium.
2021-02-09 08:33:39 -08:00
Dmitry Gozman
0871a9cfd9
feat(codegen): improve selector generation ( #5364 )
...
- Snap to buttons, inputs, selects, etc.
- Try `<label>` selector in addition to the element.
- Use parent selectors when needed.
- Remove xpath fallback as it should be covered with css.
2021-02-08 21:53:17 -08:00
Dmitry Gozman
b50c363bba
docs(selectors): add quick guide section ( #5346 )
2021-02-08 19:51:11 -08:00
Yury Semikhatsky
ef9995e694
docs: make pdf options strings in java and C# ( #5369 )
2021-02-08 18:07:27 -08:00
Dmitry Gozman
002d8ef5a7
chore: remove Progress.aborted ( #5363 )
...
Most places use Progress.cleanupWhenAborted instead.
2021-02-08 17:33:01 -08:00
Andrey Lushnikov
21c24c2357
devops: do not check for logs existance when building browsers ( #5367 )
...
In our *old world*, browser buildbots were polling repo and were
trying to rebuild browsers every 5 minutes. They relied on the presence
of either build or build log on the CDN to avoid continiously
re-building.
In the new world, we trigger builds only when we change the
`BUILD_NUMBER` files, so there's no polling any more.
This patch removes the check for log presence so that those builds that
were failing due to misconfiguration (e.g. Visual Studio license
required updated) could be restarted just from the GitHub UI.
2021-02-08 16:19:37 -08:00
Pavel Feldman
d49a1d8174
chore: kill electron process on ctrl+c ( #5366 )
2021-02-08 16:04:15 -08:00
Andrey Lushnikov
d499cf08d1
refactor: remove browserPaths in favor of Registry class ( #5318 )
...
This patch introduces a new Registry class that incapsulates
all logic regarding browsers and their paths.
Fixes #5278
2021-02-08 16:02:49 -08:00
Pavel Feldman
6680713e84
chore: don't reuse recorder app profile ( #5365 )
2021-02-08 16:02:23 -08:00
Pavel Feldman
b32be4b3d4
chore: expose electron types ( #5362 )
2021-02-08 14:39:05 -08:00
Yury Semikhatsky
4bfdaa384b
docs: fix playwright.dev generation error ( #5360 )
2021-02-08 12:27:17 -08:00
Dmitry Gozman
6d56a110ca
feat(proxy): throw when socks proxy is used with auth ( #5358 )
2021-02-08 12:07:45 -08:00
Yury Semikhatsky
f35acc258b
docs: improve enum naming ( #5359 )
2021-02-08 11:58:25 -08:00
Yury Semikhatsky
551338e953
browser(webkit): roll to 02-08 ( #5356 )
2021-02-08 11:00:05 -08:00
Yury Semikhatsky
bb0af314ba
fix(video): set default size to fit into 800x800 ( #5333 )
2021-02-08 10:59:48 -08:00
Joel Einbinder
7e757cd531
fix(types): regenerate types for latest doc changes ( #5353 )
2021-02-08 08:22:54 -08:00
Max Schmitt
da4304a05c
chore: run recorder app in no sandbox ( #5345 )
2021-02-08 07:38:24 -08:00