1
1
mirror of https://github.com/microsoft/playwright.git synced 2024-12-15 06:02:57 +03:00
Commit Graph

3636 Commits

Author SHA1 Message Date
Pavel Feldman
e56832b646
chore: language-specific members api () 2021-01-07 15:00:04 -08:00
Dmitry Gozman
8d649949c0
docs: move Go port to showcase ()
playwright-go is an unofficial port, so we put it to a new section in showcase.
2021-01-07 14:54:09 -08:00
Dmitry Gozman
eb9ea20511
feat(selectors): proximity selectors () 2021-01-07 14:12:59 -08:00
Dmitry Gozman
ffa169ba92
chore: use chokidar for build () 2021-01-07 13:26:34 -08:00
Pavel Feldman
bdf12e32e4
docs: split api-body into classes () 2021-01-07 11:46:05 -08:00
Pavel Feldman
4cd989c653
docs: introduce deprecation annotation and any type () 2021-01-07 11:11:40 -08:00
Pavel Feldman
913f85249f
docs: make all links relative () 2021-01-06 20:02:51 -08:00
Yury Semikhatsky
0a2fe62cb7
fix(extensions): do not enable screencast for background pages () 2021-01-06 15:08:28 -08:00
Yury Semikhatsky
8fd34c6beb
feat(webkit): bump to 1415 () 2021-01-06 13:44:14 -08:00
Dmitry Gozman
4ff7e1a419
chore: cleanup our build system ()
- Consolidate our build and watch to a single build.js file.
- Update contributing docs.
- Remove unused scripts and package.json script entries.
2021-01-06 12:41:17 -08:00
Pavel Feldman
2311c282d6
docs: pref docs to be language-specific () 2021-01-06 11:59:29 -08:00
Joel Einbinder
cc1a79eceb
browser(webkit): drag and drop on windows () 2021-01-06 09:46:35 -08:00
Dmitry Gozman
f672033e11
chore: bundle small build of highlight.js ()
This follows the "build from source" configuration (https://highlightjs.org/usage/#source)
and reduces the footprint from 2mb to 100kb.
2021-01-06 09:31:42 -08:00
Andrey Lushnikov
6b3dcb01aa
chore: fix randomly crashing build-playwright-driver.sh ()
Some googling showed that CI systems might not be capable of
handling too much STDOUT that `tar -v` produces.
([source](https://stackoverflow.com/questions/37540792/jenkins-script-tar-write-error)).

This patch:
- removes verbose flag from tar to reduce output
- sets `+x` to get some logging for the script
- silences zip output
2021-01-06 14:13:01 +03:00
Dmitry Gozman
9bbabaaa74
test: update screencast test to actually require red color () 2021-01-05 20:31:50 -08:00
Pavel Feldman
b6cd385a67
docs: mark some paths as such () 2021-01-05 17:05:43 -08:00
Yury Semikhatsky
2908568f9a
browser(webkit): install new dependency required for openxr on linux () 2021-01-05 16:05:21 -08:00
Andrey Lushnikov
6b94f5f1b9
browser(firefox): roll Firefox to beta @ Jan 5, 2021 () 2021-01-06 02:49:28 +03:00
Dmitry Gozman
a9c776f56e
chore: watch to regenerate api.json () 2021-01-05 15:25:25 -08:00
Dmitry Gozman
d47fb6a780
feat(cli): build driver and upload to cdn () 2021-01-05 14:04:47 -08:00
Dmitry Gozman
b00559bd53
docs: add save/load storage to cli docs () 2021-01-05 13:40:42 -08:00
Dmitry Gozman
35ecf69dd2
chore: fix lint () 2021-01-05 13:24:22 -08:00
Yury Semikhatsky
5df1c6e560
browser(webkit): roll to 01-05 to pick up upstream Win fix () 2021-01-05 13:08:52 -08:00
Yury Semikhatsky
0f8d7ec0a6
docs: improve waitForElementState documentation () 2021-01-05 10:56:02 -08:00
Yury Semikhatsky
d8187bb5af
feat(webkit): bump to 1412 () 2021-01-05 10:52:50 -08:00
Pavel Feldman
4996eacd5b
docs: split numbers into integers and floats () 2021-01-05 09:42:49 -08:00
Yury Semikhatsky
849a5b3795
browser(webkit): roll to 01-04 () 2021-01-05 09:13:13 -08:00
Joel Einbinder
4a89158293
fix(type-generator): make the generated by message consistent on windows () 2021-01-05 06:42:38 -08:00
Pavel Feldman
80f8a0fdf5
doc: further align docs w/ playwright.dev (3) () 2021-01-04 17:59:23 -08:00
Dmitry Gozman
5215add60d
chore: remove selectorsV2Enabled switch ()
Selectors V2 seem to stick.
2021-01-04 15:32:31 -08:00
Dmitry Gozman
c4df522555
fix(handles): always create proper handle type () 2021-01-04 13:54:55 -08:00
Pavel Feldman
31ffeb32e3
doc: further align docs w/ playwright.dev (2) () 2021-01-04 13:50:29 -08:00
Yury Semikhatsky
3ff81fe172
browser(webkit): do run win build again if first attempt failed () 2021-01-04 13:40:56 -08:00
Dmitry Gozman
706c1e44d1
chore: use last commit timestamp for @next builds () 2021-01-04 11:12:42 -08:00
Yury Semikhatsky
b0b1561c92
browser(webkit): kick off next build () 2021-01-04 11:01:43 -08:00
Yury Semikhatsky
736ef4e879
browser(webkit): call build.sh twice on Windows () 2021-01-04 10:49:46 -08:00
Pavel Feldman
ae935a43d9
doc: further align docs w/ playwright.dev () 2021-01-03 08:47:29 -08:00
Pavel Feldman
e0e836cb6e
doc: split classes into files () 2021-01-01 15:17:27 -08:00
Pavel Feldman
ba291372e7
docs: generate all docs off docs-src () 2020-12-30 18:04:51 -08:00
Joel Einbinder
75198f044d
browser(chromium): bump to r839741 ()
References 
2020-12-30 09:36:14 -08:00
Pavel Feldman
a5bd415edc
doc: generate class toc as a part of the api generation () 2020-12-29 17:35:01 -08:00
Dmitry Gozman
ded2bc2396
browser(webkit): postpone creation of the first page ()
When we create the first page in the default context in headless mode on mac,
it gets NSWindow that is "not visible". Although we call [window setIsVisible:YES],
later on window.isVisible still returns NO.

We create our offscreen "headless" NSWindow directly from applicationDidFinishLaunching:.
Experiments show that delaying this by 100ms makes everything work. As a symptom,
we get applicationDidUnhide: notification that does not happen when we create the window
immediately.

Perhaps, we create the window too early, and there is some essential initialization
that happens after applicationDidFinishLaunching:. However, if we call
[NSApp activateIgnoringOtherApps:YES] like we do in headful mode, everything works.

The only solution that worked so far is creating the first page after a timeout.
2020-12-29 13:49:39 -08:00
Pavel Feldman
9817d1095a
doc: generator code health (3) () 2020-12-29 12:12:46 -08:00
Joel Einbinder
6697dadca2
chore(eslint): add rule no-unused-expressions () 2020-12-29 09:59:35 -08:00
Tom Jenkinson
d08f8487c4
chore: remove useless statement that was a typo () 2020-12-29 08:58:09 -08:00
Pavel Feldman
722db85e1c
doc: generator code health (2) () 2020-12-28 23:42:51 -08:00
Dmitry Gozman
8fbb984f64
test: disable most codegen on headful firefox ()
It has problems with focus.
2020-12-28 17:39:30 -08:00
Dmitry Gozman
7f8717f139
feat(cli): add docs ()
feat(cli): add docs
2020-12-28 17:38:44 -08:00
Pavel Feldman
70c14e6b99
doc: generator code health () 2020-12-28 17:38:00 -08:00
Dmitry Gozman
a1232b6980
chore: simplify and remove some scripts () 2020-12-28 16:19:28 -08:00