You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go list -m github.com/chromedp/chromedp
github.com/chromedp/chromedp v0.7.4
$ google-chrome --version
Chromium : 91.0.4472.164
$ go version
go version go1.16.6 windows/amd64
What did you do? Include clear steps.
Hi everyone, I have a function to set some id on select tags.
If the result value of chromedp.Evaluate is of type runtime.RemoteObject, the parameter should be of type **runtime.RemoteObject. Here is the change to correct your code:
What versions are you running?
$ go list -m github.com/chromedp/chromedp
github.com/chromedp/chromedp v0.7.4
$ google-chrome --version
Chromium : 91.0.4472.164
$ go version
go version go1.16.6 windows/amd64
What did you do? Include clear steps.
Hi everyone, I have a function to set some id on select tags.
Here my code :
I use the *runtime.RemoteObject as a buffer to handle the undefined result
However, I meet the error :
encountered an undefined value
Maybe I do something wrong
What did you expect to see?
No error, but I want to handle the error if another occur
What did you see instead?
The error :
encountered an undefined value
Have a good day, and thanks for your help
The text was updated successfully, but these errors were encountered: