Commit Graph

10 Commits

Author SHA1 Message Date
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
6d3817727c
chore: update scripts and contributing guide (#346) 2023-05-02 10:22:33 +02:00
Max Schmitt
21654ccac0
chore: roll to 1.20.0-beta-1647057403000 (#256) 2022-03-12 14:34:36 +01:00
Kumar Aditya
a02971fb79
chore: mirror upstream assets (#210) 2021-10-04 13:06:49 +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
Max Schmitt
791647425d
devops: rework patch infra scripts (#164) 2021-08-21 14:15:53 +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