Can Stand
0d5814a357
chore: use golangci-lint and gofumpt ( #408 )
2024-01-24 21:17:04 +08:00
Can Stand
d1bed759cd
Automatically generate Go interfaces code, etc. ( #367 )
...
BREAKING CHANGE:
Due to the rewrite of the go code generation scripts, it brings the following **breaking** changes:
- Optimized generated comments. Links and **Deprecated** tags in Go doc comments now work.
- May cause many **Deprecated** lint errors, please update the call or use `//nolint:staticcheck` to ignore.
- Added event interface methods. For example `Page.OnDialog()` etc.
- The signatures of some interface methods have changed, for example:
- Unified optional parameter naming. For example, previously all `Click` used `PageClickOptions`, now
```go
Locator.Click(options ...LocatorClickOptions)
Page.Click(selector string, options ...PageClickOptions)
Frame.Click(selector string, options ...FrameClickOptions)
```
- Some parameters are generated as new types or names, e.g. `Page.AddInitScript(script Script)`
- Removed several methods that were not documented upstream. These methods can be safely converted to other existing methods. For example
- `Page.ExpectedDialog` can use `Page.OnDialog` instead.
- All `xxxAssertions.NotTo...`, use `.Not().xxx` pls.
2023-08-24 12:44:28 +08:00
Can Stand
785f267845
Roll to Playwright v1.36.2 ( #365 )
...
chore: roll to playwright v1.36.2
2023-08-04 16:19:07 +08:00
Can Stand
43f547ecad
chore: roll to Playwright v1.36.1 ( #358 )
2023-07-19 10:32:27 +02:00
Can Stand
a0bbf04116
chore: roll to Playwright v1.35.1 ( #354 )
...
* chore: roll to Playwright v1.35.1
* fix: rpc protocol update
* feat: Locators support chain calls
BREAKING CHANGE: Make Locator easier to chain calls, e.g:
`_, err := page.Locator("body").Locator("div").And("p").TextContent()`
2023-06-29 17:13:22 +02:00
Can Stand
84f17d4941
chore: add multiple missing features ( #353 )
2023-06-26 23:11:57 +02:00
Can Stand
e802fc1073
chore: roll to Playwright v1.30.0 ( #352 )
2023-06-19 14:37:03 +02:00
Can Stand
6d3817727c
chore: update scripts and contributing guide ( #346 )
2023-05-02 10:22:33 +02:00
Neenad Ingole
7f5cccf3b2
chore: WaitForRequest/WaitForResponse accepts Options args ( #292 )
2022-10-12 23:21:25 +03:00
Neenad Ingole
8e8f670b5f
chore: roll to Playwright 1.25 ( #296 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-09-19 12:08:17 +02:00
masaushi
307d21c07a
feat: add frame locator ( #281 )
2022-06-24 10:42:55 +02:00
Stanislav Taran
4c0db72a6d
sttaran // fixed the use of Locator options ( #275 )
...
Co-authored-by: stanislav.taran <sttaran@deloitte.com>
2022-05-23 20:09:29 +03:00
masaushi
989def6e23
feat: add locator functionality ( #267 )
...
Resolves #238
2022-04-21 19:14:03 +02:00
Max Schmitt
21654ccac0
chore: roll to 1.20.0-beta-1647057403000 ( #256 )
2022-03-12 14:34:36 +01:00
Max Schmitt
6a27a65027
chore: move under playwright-community GitHub organisation ( #248 )
2022-01-26 16:29:30 +01:00
Kumar Aditya
6784c3a556
chore: add remote artifact ( #230 )
2021-11-01 20:17:15 +05:30
Kumar Aditya
8acbaeaebc
chore: add missing methods ( #224 )
2021-11-01 08:58:15 +01:00
Kumar Aditya
c355f4f4af
chore: roll to ToT Playwright ( #218 )
2021-10-25 12:34:08 +02:00
Kumar Aditya
7814837774
chore: use generate structs ( #214 )
2021-10-25 11:45:06 +02:00
Kumar Aditya
a02971fb79
chore: mirror upstream assets ( #210 )
2021-10-04 13:06:49 +02:00
Kumar Aditya
06f85e3f8c
chore: fix network ( #207 )
2021-10-04 15:51:04 +05:30
Kumar Aditya
f315239c0e
chore: use go generate ( #208 )
2021-10-04 12:09:03 +02:00
Kumar Aditya
2ac1b90014
chore: roll to tot ( #211 )
2021-10-04 11:15:47 +02:00
Kumar Aditya
7e45483b13
chore: roll to 1.14.1 ( #206 )
2021-09-17 16:10:50 +02:00
Kumar Aditya
4d4d66041c
chore: add backgroundpage ( #199 )
...
* chore: add backgroundpage
* test: add tests
* chore: fix it
2021-08-26 15:03:14 +05:30
Kumar Aditya
90a2c20b8d
chore: add browsertypeconnectoptions ( #197 )
2021-08-25 15:33:30 +05:30
Max Schmitt
791647425d
devops: rework patch infra scripts ( #164 )
2021-08-21 14:15:53 +02:00
Kumar Aditya
1c9467832e
chore: impl missing funcs with tests ( #188 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-08-15 13:36:57 +02:00
Kumar Aditya
0fdbb22856
chore: do not build examples with install ( #184 )
2021-08-08 19:11:53 +02:00
Kumar Aditya
56ba0fe666
chore: impl missing Frame funcs ( #175 )
2021-08-08 19:07:25 +02:00
Kumar Aditya
075d014263
feat: add browser_type.connect ( #163 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-08-05 10:37:53 +02:00
Kumar Aditya
ef101d73b7
chore: remove xml in docs ( #173 )
2021-08-05 10:29:36 +02:00
Kumar Aditya
b5e2a94f59
chore: implement tracing class ( #172 )
2021-08-04 11:54:04 +02:00
Kumar Aditya
fecc5274b6
chore: implemeent missing download funcs ( #171 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-08-04 11:43:36 +02:00
Kumar Aditya
4c6fccc3d2
chore: remove c# comments ( #168 )
2021-08-03 15:27:17 +02:00
Max Schmitt
641f3dfaa9
fix: re-introduce Page.emulateMedia ( #166 )
2021-08-03 14:12:58 +02:00
Kumar Aditya
648cc14ec4
chore: roll to 1.13.1 ( #156 )
2021-08-01 18:28:45 +02:00
Kumar Aditya
ddeb9e3906
test: add video tests ( #155 )
2021-07-31 10:48:30 +02:00
Kumar Aditya
c4f7746c75
chore: roll to 1.11 ( #152 )
2021-07-30 12:00:14 +02:00
Kumar Aditya
3e5d42effc
chore: point to upstream Playwright repository ( #149 )
2021-07-29 15:13:25 +02:00
Kumar Aditya
244b7bbbf7
devops: add playwright add submodule ( #147 )
2021-07-29 13:11:14 +02:00
Kumar Aditya
5c7b3fd30d
chore: make build scripts compatible on windows ( #146 )
2021-07-29 12:35:02 +02:00
Jiong Han
c5d637702e
feat: added support for CDPSession ( #128 )
2021-06-07 23:57:06 +02:00
Max Schmitt
e8b6d7425f
fix: ElementHandle.Type ( #117 )
2021-04-15 12:15:48 +02:00
Max Schmitt
d68a250512
chore: roll Playwright to 1.9.2 ( #108 )
2021-03-16 10:14:12 +01:00
Max Schmitt
041b715e38
feat: add storage state support ( #96 )
2021-01-24 13:20:38 +01:00
lcmtwn
8d90e26a61
feat: add ElementHandle.WaitForElementState/WaitForSelector methods ( #98 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-01-24 13:09:02 +01:00
Max Schmitt
3059d1aa95
chore: refactore route/unroute logic
2021-01-23 17:37:22 +01:00
Max Schmitt
e0959145c8
chore: add missing v1.8 methods ( #95 )
2021-01-23 17:04:10 +01:00
Max Schmitt
5256c0df93
chore: bump to Playwright 1.8.0 ( #93 )
2021-01-23 15:37:47 +01:00