We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rod Version: v0.114.8
I'm launching rod with a specified Chrome profile. All works as expected, but some profile settings are reset after the launch. I noticed:
I've tried launching Chrome directly without rod, but with the same args as it launches it with, and have not encountered this issue.
import ( "fmt" "github.com/go-rod/rod" "github.com/go-rod/rod/lib/launcher" ) var ( ProfileDir string = "Profile 51" UserDataDir string = "C:\\Users\\admin\\AppData\\Local\\Google\\Chrome\\User Data" ChromeBinPath string = "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" ) func main() { launcher := launcher.New(). Bin(ChromeBinPath). Set("user-data-dir", UserDataDir). Set("profile-directory", ProfileDir). Leakless(false). Headless(false) cu, err := launcher.Launch() if err != nil { fmt.Println(err) } browser := rod.New().ControlURL(cu) err = browser.Connect() if err != nil { fmt.Println(err) } defer browser.Close() }
demo: https://github.com/go-rod/rod/assets/32616886/85b70ab3-9a7c-4573-9e8e-ec583292ac2c
The text was updated successfully, but these errors were encountered:
4efda70
Could you try the v0.115.0
Sorry, something went wrong.
the issue is gone, mad respect for the quick fix!
No branches or pull requests
Rod Version: v0.114.8
I'm launching rod with a specified Chrome profile.
All works as expected, but some profile settings are reset after the launch.
I noticed:
I've tried launching Chrome directly without rod, but with the same args as it launches it with, and have not encountered this issue.
demo:
https://github.com/go-rod/rod/assets/32616886/85b70ab3-9a7c-4573-9e8e-ec583292ac2c
The text was updated successfully, but these errors were encountered: