I am trying to boot your framework using the guide https://agouti.org/
I have an issue while trying to open the browser using the command page, err := driver.NewPage()
Just the few steps that I followed so far:
install chromedriver with brew and update $PATH
use dep to download the dependency of the project. I am using agouti v.3.0.0
None of the functions are returning errors and I just see basically the chrome browser being launched and crashed straight after without any exception.
My chrome version is Version 71.0.3578.98
Just FYI this is the complete main.go I am using:
driver := agouti.ChromeDriver()
if err := driver.Start(); err != nil {
log.Fatal("Failed to start driver:", err)
}
page, err := driver.NewPage()
if err != nil {
log.Fatal("Failed to open page:", err)
}
if err := page.Navigate("https://agouti.org/"); err != nil {
log.Fatal("Failed to navigate:", err)
}
sectionTitle, err := page.FindByID(`getting-agouti`).Text()
log.Println(sectionTitle)
if err := driver.Stop(); err != nil {
log.Fatal("Failed to close pages and stop WebDriver:", err)
}
I manage to make it works, just updating my chrome version to the latest available Version 75.0.3770.142. Now the browser does not crash anymore. Close the issue
Hello my name is Giuseppe
I am trying to boot your framework using the guide https://agouti.org/ I have an issue while trying to open the browser using the command
page, err := driver.NewPage()
Just the few steps that I followed so far:chromedriver
withbrew
and update$PATH
dep
to download the dependency of the project. I am using agoutiv.3.0.0
None of the functions are returning errors and I just see basically the chrome browser being launched and crashed straight after without any exception. My chrome version is
Version 71.0.3578.98
Just FYI this is the complete
main.go
I am using:Thank you in advance for your help Giuseppe