Open
Description
Environments
- playwright-go Version: v0.4702.0
- Browser: chrome
- OS and version: Windows 11
Bug description
can not evaluate js on chrome debug
To Reproduce
Please provide a mini reproduction rather than just a description. For example:
package main
import "github.com/playwright-community/playwright-go"
func main() {
// use ConnectOverCDP and pages to get some page and debug in that page in chrome ,then run the following codes
evaluateResult, err := page.Evaluate(method, params)
if err != nil {
return nil, err
}
}
the code will block till timeout or cancel debug in chrome with error
Additional context
Add any other context about the problem here.
in chrome console , it can run js codes even if in debug