chromedp

A faster, simpler way to drive browsers supporting the Chrome DevTools Protocol.

MIT License

Stars
10.4K
Committers
46

Bot releases are hidden (Show)

chromedp - chromedp v0.6.4

Published by ZekeLu over 3 years ago

  • Do not set pdeathsig to the process on Lambda (#720)
chromedp - chromedp v0.6.2

Published by ZekeLu over 3 years ago

  • Fix deadlock in TestPrematureCancel (#742)
  • Fix data race when finding enclosing frame (#741)
chromedp - chromedp v0.7.2

Published by ZekeLu over 3 years ago

  • Update cdproto to 92.0.4501.1_9.2.173 definitions
  • Search chrome binary in different locations on different OS systems. (#811)
  • Expose process of the Browser (#737)
  • Wrap errors with go 1.13 %w verb (#743)
  • Fix comment about websocket timeout in allocate.go (#727)
chromedp - chromedp v0.7.0

Published by ZekeLu over 3 years ago

  • Add crhomedp.FullScreenshot action
  • Minor cleanup to CI
  • Update the list of ignored page events (#780)
  • Rename TranslateUI to Translate in the default disable-features (#796)
  • Update dependencies
chromedp - chromedp v0.7.1

Published by ZekeLu over 3 years ago

  • Fix typo in the example
chromedp - chromedp v0.6.0

Published by kenshaw almost 4 years ago

Updated to latest Chromium v89 protocol definitions, and some minor logic fixes.

chromedp - chromedp v0.5.3

Published by kenshaw almost 5 years ago

Update to latest cdproto dependency, as backward-incompatible name changes were introduced with the latest cdproto-gen variant.

Note: this update could not be delayed any further, as the cdproto-gen changes had been made well over a month ago, but the changes to cdproto were not pushed out. For projects not using Go modules, this will cause a breakage if cdproto and chromedp are not kept in sync.

chromedp - v0.5.2

Published by mvdan almost 5 years ago

  • Discard detached targets properly, which was causing hangs in some sites using iframes
  • Stop discarding EventExceptionThrown events for targets
  • Make ExecAllocator more robust, with bufio.Reader and a timeout
  • Stop erroring about EventDownloadWillBegin events
  • Support a user's explicit remote-debugging-port flag
  • Avoid a few potential concurrency issues in edge cases
chromedp - v0.4.2

Published by kenshaw about 5 years ago

Maintenance release. No major changes since v0.4.0 other than Go module dependency updates.

chromedp -

Published by mvdan about 5 years ago

  • add WaitNewTarget to grab a tab opened by an existing tab
  • add CombinedOutput to gather the browser's output
  • add ByJSPath to select nodes via a JS expression
  • add Emulate and Device to easily emulate devices
  • mouse actions now use float64 coordinates to improve high-DPI support
  • fix an edge case where FullXPath could return an incorrect path
  • make DefaultExecAllocatorOptions an array, to discourage racy usage
  • give better errors when an unexpected undefined is encountered
  • fix a possible panic if page.Navigate is used directly
  • split Action into many interfaces to organise the docs into sections
  • add a number of examples and improve the documentation
chromedp -

Published by mvdan over 5 years ago

  • fix a regression when sending large messages to Chrome over websocket
  • increase the timeout when waiting for new pages to appear, for slow devices
  • avoid hanging in Navigate actions if the context is canceled
  • fix a data race if Navigate was used while a navigation was already happening
  • fix a regression where large queries could deadlock the target handler
  • revert back to using one goroutine per selector, to reduce CPU use when idle
chromedp -

Published by mvdan over 5 years ago

  • allow listening for browser or tab events
  • navigation actions now wait for the frame to load
  • allow using tabs opened by existing tabs
  • fix the screenshot actions to work on high DPIs
  • work with headless-shell containers out of the box
chromedp -

Published by mvdan over 5 years ago

  • Rewrite API to be context-based
  • Remove all internal timeouts, thanks to contexts
  • Handle all events sequentially, fixing occasional races
  • Redesign the Pool type into an Allocator interface
  • Allow managing multiple tabs per browser
  • Greatly speed up the tests, now taking a few seconds in total