Stephen Levine
Stephen Levine
Done (6bebd2095b2936ea00539be8b0971cc9eeaddc72). I've seen most people use the `Value()` method for this, but I'm happy to make the API more complete. If you want to wait for an element to...
PhantomJS doesn't support alert boxes. Also, PhantomJS does not appear to be maintained any longer, so you might consider switching to headless chrome: https://github.com/ariya/phantomjs/issues/15361
Web browsers interactions aren't synchronous. Just like when you interact with a web browser manually, actions like navigating to a URL or clicking take time. For your specific example, you...
You can make direct requests to the WebDriver via `page.Session().Send()`. As long as PhantomJS provides an endpoint for it, you should be able to access it. See: https://w3c.github.io/webdriver/webdriver-spec.html#list-of-endpoints
Hi @johanbrandhorst, This is because `/session/:sessionId/log` and `/session/:sessionId/log/types` were present in Selenium's [initial draft](https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol) for the the spec. Let's not change the `agouti/api` package until there's an official decision. We...
Apologies for the delay. I would be happy to accept a PR that adds whatever extra endpoints this requires. If those endpoints are outside of the WebDriver spec, they should...
Sorry for the delay! I think this can be accomplished via the webdriver with `page.SetImplicitWait`: https://godoc.org/github.com/sclevine/agouti#Page.SetImplicitWait That said, I'd consider merging a tested version of this implemented on the `Selection`...
Either add the directory containing your `chromedriver` binary to the `PATH` and use `agouti.ChromeDriver()`, or alternatively, register a custom webdriver via `agouti.NewWebDriver`. See: https://godoc.org/github.com/sclevine/agouti#ChromeDriver https://godoc.org/github.com/sclevine/agouti#NewWebDriver
Agouti supports any WebDriver that conforms to the W3C WebDriver specification. You can generically connect to a WebDriver using `agouti.NewWebDriver`. I tried adding explicit support for SlimerJS a while ago,...
Sorry for the delay. This is a breaking change to the `agouti.ChromeDriver()` method interface. If you need custom ChromeDriver arguments, I recommend using `agouti.NewWebDriver()`.