Pavel Feldman
bdf12e32e4
docs: split api-body into classes ( #4931 )
2021-01-07 11:46:05 -08:00
Pavel Feldman
4cd989c653
docs: introduce deprecation annotation and any type ( #4930 )
2021-01-07 11:11:40 -08:00
Pavel Feldman
913f85249f
docs: make all links relative ( #4926 )
2021-01-06 20:02:51 -08:00
Dmitry Gozman
4ff7e1a419
chore: cleanup our build system ( #4903 )
...
- 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 ( #4916 )
2021-01-06 11:59:29 -08:00
Dmitry Gozman
f672033e11
chore: bundle small build of highlight.js ( #4907 )
...
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 ( #4909 )
...
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
Pavel Feldman
b6cd385a67
docs: mark some paths as such ( #4896 )
2021-01-05 17:05:43 -08:00
Dmitry Gozman
a9c776f56e
chore: watch to regenerate api.json ( #4901 )
2021-01-05 15:25:25 -08:00
Dmitry Gozman
d47fb6a780
feat(cli): build driver and upload to cdn ( #4841 )
2021-01-05 14:04:47 -08:00
Pavel Feldman
4996eacd5b
docs: split numbers into integers and floats ( #4887 )
2021-01-05 09:42:49 -08:00
Joel Einbinder
4a89158293
fix(type-generator): make the generated by message consistent on windows ( #4888 )
2021-01-05 06:42:38 -08:00
Pavel Feldman
80f8a0fdf5
doc: further align docs w/ playwright.dev (3) ( #4884 )
2021-01-04 17:59:23 -08:00
Pavel Feldman
31ffeb32e3
doc: further align docs w/ playwright.dev (2) ( #4871 )
2021-01-04 13:50:29 -08:00
Dmitry Gozman
706c1e44d1
chore: use last commit timestamp for @next builds ( #4876 )
2021-01-04 11:12:42 -08:00
Pavel Feldman
ae935a43d9
doc: further align docs w/ playwright.dev ( #4866 )
2021-01-03 08:47:29 -08:00
Pavel Feldman
e0e836cb6e
doc: split classes into files ( #4864 )
2021-01-01 15:17:27 -08:00
Pavel Feldman
ba291372e7
docs: generate all docs off docs-src ( #4858 )
2020-12-30 18:04:51 -08:00
Pavel Feldman
a5bd415edc
doc: generate class toc as a part of the api generation ( #4852 )
2020-12-29 17:35:01 -08:00
Pavel Feldman
9817d1095a
doc: generator code health (3) ( #4850 )
2020-12-29 12:12:46 -08:00
Pavel Feldman
722db85e1c
doc: generator code health (2) ( #4843 )
2020-12-28 23:42:51 -08:00
Pavel Feldman
70c14e6b99
doc: generator code health ( #4840 )
2020-12-28 17:38:00 -08:00
Dmitry Gozman
a1232b6980
chore: simplify and remove some scripts ( #4838 )
2020-12-28 16:19:28 -08:00
Dmitry Gozman
068d8612a7
feat(cli): make run-driver work ( #4836 )
2020-12-28 15:44:24 -08:00
Dmitry Gozman
293a7bdd4c
feat(cli): bring in codegen and tests ( #4815 )
2020-12-28 14:50:12 -08:00
Dmitry Gozman
94077e0e74
chore: remove JS types checker, rely on typescript ( #4831 )
...
chore: remove JS types checker, rely on typescript
We keep checking that all methods are documented, and no extra methods
are documented, but rely on typescript for everything else.
2020-12-28 10:54:47 -08:00
Pavel Feldman
a446792c18
docs: generate api.md off documentation model ( #4832 )
2020-12-28 07:03:09 -08:00
Pavel Feldman
fee7dd7cc1
chore: nit type validator fix ( #4830 )
2020-12-27 08:42:22 -08:00
Dmitry Gozman
905f28c339
feat(types): simplify android and electron types ( #4829 )
...
These now follow the scheme for regular types.
2020-12-26 20:25:18 -08:00
Dmitry Gozman
34c1b338be
feat(types): make our client classes implement public types ( #4817 )
...
This patch:
- introduces non-exported but used in api/impl struct types (e.g. Point);
- makes all client classes implement respective public api interface.
Pros:
- Typescript is now responsible for type checking.
We can remove our doclint checker (not removed yet).
- Electron and Android types can be defined in the same way
(this is not implemented yet).
- We can move most of the type structs like Point to the public api
and make some of them available.
Cons:
- Any cons?
2020-12-26 17:05:57 -08:00
Pavel Feldman
dc25173ae3
chore(docs): fix crlf ( #4828 )
2020-12-26 17:05:44 -08:00
Pavel Feldman
2cb5770183
docs: move playwright module into api-body.md ( #4827 )
2020-12-26 15:33:29 -08:00
Pavel Feldman
15cdfd1cc1
chore: generate types, api.json off md rather than html ( #4825 )
2020-12-26 14:31:41 -08:00
Dmitry Gozman
9dd982c508
chore: commit generated types to the repository ( #4826 )
...
Also check them during `npm run lint` and regenerate during `npm run watch`.
2020-12-26 13:52:05 -08:00
Pavel Feldman
277d255fc3
chore: brush up md processing ( #4819 )
2020-12-23 19:35:43 -08:00
Dmitry Gozman
225e65e076
feat(cli): share console api between cli and debug mode ( #4807 )
2020-12-23 14:15:16 -08:00
Dmitry Gozman
f709e2300c
feat(cli): bring selector generator into playwright ( #4795 )
...
Also remove unused `SelectorEngine.create` function and add tests.
2020-12-23 12:44:47 -08:00
Dmitry Gozman
d40afa2fbf
feat(cli): first few cli commands ( #4773 )
...
This sets up cli capabilities and brings in a few commands from playwright-cli.
2020-12-22 14:54:13 -08:00
Dmitry Gozman
cc32217e84
chore: fix check-deps ( #4801 )
2020-12-22 11:01:25 -08:00
Yury Semikhatsky
a7f4c69a60
docs: fix browser version generation script ( #4797 )
2020-12-21 18:09:55 -08:00
Pavel Feldman
2e220df7ac
docs: explicitly annotate methods and parameters ( #4771 )
2020-12-18 15:31:34 -08:00
Pavel Feldman
774eb53980
fix(adb): force page scale factor update on connection ( #4755 )
2020-12-17 18:28:49 -08:00
Pavel Feldman
e02c54485c
chore(adb): make driver smaller ( #4713 )
2020-12-14 18:39:14 -08:00
Pavel Feldman
4799e8f20b
feat(adb): add screenshot ( #4701 )
2020-12-13 23:20:13 -08:00
Pavel Feldman
1596b53da2
test(adb): fix browser tests ( #4700 )
2020-12-13 22:33:00 -08:00
Max Schmitt
b8112dedca
devops: fix Android tests on GHA ( #4698 )
2020-12-13 14:38:51 -08:00
Max Schmitt
f4eff4dbe0
devops: add bot to test Android ( #4693 )
2020-12-13 14:13:50 -08:00
Pavel Feldman
2ba60e92e3
test(adb): add some adb tests ( #4679 )
2020-12-11 23:36:08 -08:00
Pavel Feldman
aa1b546bd0
chore(android): respect timeout, add build script ( #4690 )
2020-12-11 23:35:25 -08:00
Pavel Feldman
616df7d2f4
fix(adb): minor fixes ( #4678 )
2020-12-10 16:37:18 -08:00