Daniel Martí 46982a1cac rework CancelError into Cancel
That way, cancelling a context while checking the error is much simpler.
The context data already holds onto the cancel func, so this requires no
internal changes.

This renders the Browser.Shutdown API obsolete, even though it doesn't
do exactly the same. If we want Cancel to do a proper shutdown action
before cancelling a browser context and killing the process, we could do
that change within the cancel logic.
2019-04-09 13:06:34 +02:00
2019-02-22 00:13:27 +01:00
2019-04-01 12:17:28 +01:00
2019-04-08 12:10:59 +02:00
2019-04-09 13:06:34 +02:00
2019-04-09 13:06:34 +02:00
2019-04-09 10:22:11 +02:00
2019-04-09 10:22:11 +02:00
2019-04-03 09:03:41 +02:00
2019-04-01 19:55:40 +01:00
2017-12-28 11:17:14 +07:00
2018-03-27 04:31:09 +07:00
2019-04-09 13:06:34 +02:00
2018-07-13 12:46:30 +07:00
2019-04-01 19:55:40 +01:00
2019-04-07 13:37:32 +02:00
2019-04-03 09:03:41 +02:00

About chromedp Build Status Coverage Status

Package chromedp is a faster, simpler way to drive browsers supporting the Chrome DevTools Protocol in Go using the without external dependencies (ie, Selenium, PhantomJS, etc).

Installing

Install in the usual Go way:

go get -u github.com/chromedp/chromedp

Examples

Please see the examples project for more examples. Please refer to the GoDoc API listing for a summary of the API and Actions.

Resources

TODO

  • Move timeouts to context (defaults)
  • Implement more query selector options (allow over riding context timeouts)
  • Contextual actions for "dry run" (or via an accumulator?)
  • Network loader / manager
  • Profiler
Description
No description provided
Readme 2 MiB
Languages
Go 100%