Commit Graph

39 Commits

Author SHA1 Message Date
Remington Arneson
fcd06e1fa6
chore: roll to Playwright v1.57.0 (#578)
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
* chore: roll to Playwright v1.57.0

Fix playwright submodule commit

Rerun gofumpt

Change ConsoleMessages to use newConsoleMessage() to properly deserialize event objects

Add test coverage

Update page_test.go

Fix failing end-to-end test

Update README.md

Fix README

Update README.md

* Fix unit tests
2026-01-16 23:06:27 +01: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
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
8575a752c3
chore: roll to playwright v1.37.1 (#368) 2023-08-25 21:44:55 +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
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
e802fc1073
chore: roll to Playwright v1.30.0 (#352) 2023-06-19 14:37:03 +02:00
Yuki Shindo
5e306ad9fd
add use local chrome example (#303) 2022-10-10 23:03:28 +03:00
Yuki Shindo
924fc8af28
chore: fix scraping example (#304) 2022-10-03 20:15:45 +02:00
Neenad Ingole
1b26f7a64e
chore: fix attribute changes to Show My Location link in openstreetmap (#289) 2022-08-27 09:10:56 +02:00
Max Schmitt
3fc1536af3
chore: rework parallel crawling example (#261) 2022-03-12 20:30:06 +01: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
d7901186e5
chore: add assets from upstream (#225) 2021-11-01 20:49:58 +05:30
Kumar Aditya
0fdbb22856
chore: do not build examples with install (#184) 2021-08-08 19:11:53 +02:00
Pablillo Calvo
ed56b071f3
docs: Add an example on how to monitor network traffic (#127) 2021-06-08 15:42:07 +02:00
Max Schmitt
d68a250512
chore: roll Playwright to 1.9.2 (#108) 2021-03-16 10:14:12 +01:00
Steven Johnstone
355fba93c7
fix(examples): bug in videos example: close page (#107) 2021-02-20 01:32:57 +01:00
Max Schmitt
5256c0df93
chore: bump to Playwright 1.8.0 (#93) 2021-01-23 15:37:47 +01:00
Max Schmitt
ca837bebbe
chore: add documentation to exported structs (#92) 2021-01-13 16:36:54 +01:00
Max Schmitt
6c318968d9
chore: add missing methods: video and standardised naming (#73) 2020-12-29 02:28:21 +01:00
Max Schmitt
259795685f
chore: validate exposed interfaces with API (#72) 2020-12-29 01:07:47 +01:00
Max Schmitt
90056e2984
chore: use interface types for public API (#69) 2020-12-26 16:40:33 +01:00
Max Schmitt
1e66cfdc07
chore: roll to playwright-cli 0.170.0 (#54) 2020-12-20 10:34:37 +01:00
Matt Hamilton
db840fd160
examples: Add an example of fetching data from in-page JavaScript (#51)
* add JSHandle example

* Update main.go

* Update main.go

Co-authored-by: Max Schmitt <max@schmitt.mx>
2020-10-03 12:59:04 +02:00
Max Schmitt
2e9c895651
test: added missing frame methods (#38) 2020-09-08 22:51:19 +02:00
Max Schmitt
937d1b02c7
feat: added more element handle and JS Handle methods (#33) 2020-09-08 00:38:39 +02:00
Max Schmitt
f8e426f7ec
feat: file upload (#31) 2020-09-07 16:16:40 +02:00
Max Schmitt
0168499d60
fix(error handling): support error wrapping (#30) 2020-09-04 20:24:00 +02:00
Max Schmitt
ff14745980
feat: add context funcs (#28) 2020-09-04 17:01:44 +02:00
Max Schmitt
bcfa6819f7
example: parallel scraping (#27) 2020-09-03 18:51:13 +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
2261dd7756
feat: added end-to-end example (#20) 2020-08-28 13:51:00 +02:00
Max Schmitt
6f26fc971d
feat: expect wrappers (#19) 2020-08-28 11:46:56 +02:00
Max Schmitt
be3ff70a47 chore: rename to playwright-go 2020-08-26 23:45:38 +02:00
Max Schmitt
80d2854eb6
feat: added basic download integration (#18) 2020-08-26 22:05:36 +02:00
Max Schmitt
33a4c1f22a
docs: add basic examples (#17) 2020-08-26 17:12:21 +02:00