Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

How to use agouti on google app engine #184

Open
cuzkop opened this issue May 8, 2019 · 0 comments
Open

How to use agouti on google app engine #184

cuzkop opened this issue May 8, 2019 · 0 comments

Comments

@cuzkop
Copy link

cuzkop commented May 8, 2019

hello from japan

I want to use agouti on gae like this

	capabilities := agouti.NewCapabilities()
	capabilities["phantomjs.page.settings.userAgent"] = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/###.## (KHTML, like Gecko) Chrome/##.#.####.### Safari/###.##"
	capabilitiesOption := agouti.Desired(capabilities)

	driver := agouti.PhantomJS(capabilitiesOption)
	if err := driver.Start(); err != nil {
		log.Errorf(c, "Failed to retrieve next log: %v", err)
	}

But it will become error like this

failed to start service: failed to run command: exec: "phantomjs": executable file not found in $PATH

what happened?
and how to use agouti?

I'm sorry for my cheap English

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant