go-chrome
go-chrome copied to clipboard
how to set a custom header before request a url?
hello , thanks for your amazing work ,
I just hit a little comfuse how to set a custom header to visit a url ,
eg. /_examples/screenshot-url
how to set a mobile device header to this example ? thank you
Hi @terry2010,
Thank you for opening an issue. Unfortunately there isn't a built-in way to do that, but you should be able to build something that can that using the devtools API methods. I don't have time now but it's an interesting problem, when I get a chance I'll take a closer look.