Notice! ! ! Can I modify Lanucher's proxy here again?
cplasfwst opened this issue · comments
cplasfwst commented
Rod Version: v0.114.8
`package main
import (
"github.com/go-rod/rod/lib/launcher"
)
func main() {
//Create Launcher instance
l := launcher.New()
//Set proxy
l.SetProxy("http://your-proxy-url:port")
// start browser
lanucher := l.Headless(false).MustLaunch()
// Other operations can be performed on lanucher here
Notice! ! ! Can I modify Lanucher's proxy here again?
//Finally close the browser
deferlanucher.Close()
}`
The question is the same as above. How can I modify laucher's proxy again after lancher is created? exist
// start browser
lanucher := l.Headless(false).MustLaunch()
Can the proxy be modified in subsequent code?
github-actions commented
Please fix the format of your markdown:
25 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```"]
25 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
25 MD046/code-block-style Code block style [Expected: indented; Actual: fenced]
28 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```"]
generated by check-issue
Yad Smood commented
no
cplasfwst commented
no
OK, I understand, thank you