send messages with select to avoid deadlocks

Fixes #287.
1 file changed
tree: 4a3bdfc219663ca649a99918d2b2b784c6302024
  1. .github/
  2. client/
  3. contrib/
  4. kb/
  5. runner/
  6. testdata/
  7. .gitignore
  8. .travis.yml
  9. actions.go
  10. chromedp.go
  11. chromedp_test.go
  12. errors.go
  13. eval.go
  14. go.mod
  15. go.sum
  16. handler.go
  17. input.go
  18. input_test.go
  19. js.go
  20. LICENSE
  21. nav.go
  22. nav_test.go
  23. pool.go
  24. pool_test.go
  25. query.go
  26. query_test.go
  27. README.md
  28. sel.go
  29. sel_test.go
  30. util.go
README.md

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