Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: can not evaluate js on chrome debug #507

Open
Nyx2022 opened this issue Nov 14, 2024 · 0 comments
Open

[Bug]: can not evaluate js on chrome debug #507

Nyx2022 opened this issue Nov 14, 2024 · 0 comments
Labels
p2-bug Something isn't working

Comments

@Nyx2022
Copy link

Nyx2022 commented Nov 14, 2024

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

@Nyx2022 Nyx2022 added the p2-bug Something isn't working label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant