go-rod-chinese icon indicating copy to clipboard operation
go-rod-chinese copied to clipboard

M1 Mac RunTimeError: ERR_INVALID_AUTH_CREDENTIALS

Open adminKKi opened this issue 6 months ago • 0 comments

Rod Version: github.com/go-rod/rod v0.116.2

The code to demonstrate your question

  1. Clone Rod to your local and cd to the repository:

    git clone https://github.com/go-rod/rod
    cd rod
    
  2. Use your code to replace the content of function TestLab in file lab_test.go.

  3. Test your code with: go test -run TestLab, make sure it fails as expected.

  4. Replace ALL THE CONTENT under "The code to demonstrate your question" with your TestLab function, like below:

func main() {
	page := rod.New().MustConnect().MustPage("https://www.wikipedia.org/")
	page.MustWaitStable().MustScreenshot("a.png")
}

What you got

Such as what error you see.

What you expected to see

Such as what you want to do.

What have you tried to solve the question

Such as after modifying some source code of Rod you are able to get rid of the problem.

adminKKi avatar Aug 23 '24 07:08 adminKKi