mirror of
https://github.com/playwright-community/playwright-go.git
synced 2026-06-03 21:02:27 +08:00
* 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`
11 lines
187 B
Go
11 lines
187 B
Go
//go:build windows
|
|
|
|
package playwright
|
|
|
|
import "syscall"
|
|
|
|
var defaultSysProcAttr = &syscall.SysProcAttr{HideWindow: true}
|
|
|
|
// for WritableStream.Copy
|
|
const defaultCopyBufSize = 64 * 1024
|