-
See https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-setBypassCSP
-
For local storage:
https://github.com/chromedp/chromedp/issues/378#issuecomment-502897744
```
window.localStorage.setItem('key', 'value')
```
For cookies:
https://github.com/chromedp/examples/…
-
#### What versions are you running?
```console
$ go list -m github.com/chromedp/chromedp
github.com/chromedp/chromedp v0.7.4
$ g
93.0.4577.63
$ go version
go version go1.17 windows/amd64
`…
-
#### What versions are you running?
```console
$ go list -m github.com/chromedp/chromedp
github.com/chromedp/chromedp v0.7.4
$ google-chrome --version
Version 92.0.4515.159 (Official Build)…
-
I understand that the Text Action returns visible text only from the **first** node matching the selector. This behaviour is unfortunately shared by all convenience functions in query.go.
```go
// T…
-
Hello!
Sorry must be something silly of me, but I really stuck.
This example is possible to copy paste, the result should be print of `true` or `false` I guess.
```go
func main() {
js := `le…
-
#### What versions are you running?
```console
$ gomod
require (
github.com/chromedp/chromedp v0.7.3
)
$ google-chrome --version
94.0.4606.61
$ go version
go version go1.15.15 darwin/a…
-
How can I avoid this mistake
-
![image](https://user-images.githubusercontent.com/52104949/131433371-9e65bf27-9afb-4961-99bf-bd560a16771f.png)
-
as the title, i want to known how to print pdf use local html file