Commit Graph

22 Commits

Author SHA1 Message Date
Can Stand
d2aa790e89
chore: maintain StorageState type (#583)
Some checks failed
Go / Lint (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (chromium, oldstable, macos-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (chromium, oldstable, ubuntu-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (chromium, oldstable, windows-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (chromium, stable, macos-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (chromium, stable, ubuntu-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (chromium, stable, windows-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (firefox, oldstable, macos-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (firefox, oldstable, ubuntu-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (firefox, oldstable, windows-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (firefox, stable, macos-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (firefox, stable, ubuntu-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (firefox, stable, windows-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (webkit, oldstable, macos-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (webkit, oldstable, ubuntu-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (webkit, oldstable, windows-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (webkit, stable, macos-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (webkit, stable, ubuntu-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }}, go ${{ matrix.go }} (webkit, stable, windows-latest) (push) Has been cancelled
Go / test-examples (push) Has been cancelled
Docs / Deploy docs (push) Has been cancelled
Verify Types / verify (push) Has been cancelled
Go / finish (push) Has been cancelled
2026-02-23 09:13:11 -08:00
Derek Perkins
123b947ddb
fix: prevent panic in Sizes() (#544) 2025-09-19 14:38:48 +08:00
Can Stand
3d5c7c7538
chore: roll to Playwright v1.45.1 (#472)
Some checks failed
Go / Lint (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }} (chromium, macos-13) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }} (chromium, ubuntu-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }} (chromium, windows-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }} (firefox, macos-13) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }} (firefox, ubuntu-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }} (firefox, windows-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }} (webkit, macos-13) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }} (webkit, ubuntu-latest) (push) Has been cancelled
Go / ${{ matrix.browser }} on ${{ matrix.os }} (webkit, windows-latest) (push) Has been cancelled
Go / test-examples (push) Has been cancelled
Docs / Deploy docs (push) Has been cancelled
Verify Types / verify (push) Has been cancelled
Go / finish (push) Has been cancelled
2024-07-03 15:23:34 +08:00
Can Stand
0d5814a357
chore: use golangci-lint and gofumpt (#408) 2024-01-24 21:17:04 +08:00
Can Stand
67b851e685
feat: roll to Playwright v1.41.1 (#407) 2024-01-24 09:07:05 +01:00
Can Stand
3319f69744
chore: roll to Playwright v1.40.1 (#394)
* chore: roll to Playwright v1.40.1
* feat: SetInputFiles now can use file path
    files can be one of: string, []string, InputFile, []InputFile
* refactor: wrap all playwright errors

BREAKING CHANGE:
- `ErrPlaywright` wraps all Playwright errors
- `ErrTimeout` wraps all timeout errors and replaces `TimeoutError`
2023-12-03 10:00:45 +08:00
Can Stand
c3d215b9ee
Roll to Playwright v1.38.1 (#373)
* chore: roll to playwright v1.38.1
* fix: GetByRole options etc.
* feat: uninstall driver and browsers
2023-10-09 16:44:19 +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
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
Kumar Aditya
22173f9abe
chore: add more tests (#222) 2021-10-25 14:25:43 +02:00
Kumar Aditya
c355f4f4af
chore: roll to ToT Playwright (#218) 2021-10-25 12:34:08 +02:00
Kumar Aditya
06f85e3f8c
chore: fix network (#207) 2021-10-04 15:51:04 +05:30
Max Schmitt
ca837bebbe
chore: add documentation to exported structs (#92) 2021-01-13 16:36:54 +01:00
Max Schmitt
4ce02a2f94
chore: cleanup inner core iteration 1 (#86) 2021-01-03 13:06:39 +01:00
Max Schmitt
90056e2984
chore: use interface types for public API (#69) 2020-12-26 16:40:33 +01:00
Max Schmitt
736c449d41
chore: added coverage script for the API (#35) 2020-09-08 11:45:13 +02:00
Max Schmitt
3ebf33e0ea
feat(iteration 1): add missing page and frame funcs (#26) 2020-08-30 22:56:10 +02:00
Max Schmitt
6b9bce014b
feat: add req/resp/route methods (#23)
- feat: add req/resp/route methods
- ci: test the attached examples
2020-08-29 17:57:04 +02:00
Max Schmitt
6f26fc971d
feat: expect wrappers (#19) 2020-08-28 11:46:56 +02:00
Max Schmitt
6d641ddd08
cleanup: less type casting (#5) 2020-08-17 10:34:44 +02:00
Max Schmitt
43de4f0da5
feat: Page.content/setContent and event emitter (#2) 2020-08-16 19:38:36 +02:00