httpexpect
chromedp
Our great sponsors
httpexpect | chromedp | |
---|---|---|
3 | 25 | |
2,091 | 8,594 | |
- | 1.1% | |
0.0 | 7.1 | |
2 days ago | 1 day ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
httpexpect
-
Best packages?
httpexpect for testing HTTP services. Works great with both RESTful and GraphQL.
-
Gostman: Postman like inside Go testing
I use this library: https://github.com/gavv/httpexpect
-
Hacktoberfest: 69 Beginner-Friendly Projects You Can Contribute To
https://github.com/gavv/httpexpect End-to-end HTTP and REST API testing for Go.
chromedp
-
Web Automation: Don't Use Selenium, Use Playwright
Thanks. I've found Chromedp [0] to be a good Selenium replacement when programming in Go. Used in conjunction with HeadlessShell [1] you can deploy a Go app into a container and do the testing all within the same container with low overhead.
-
Run single JS func in Go app
Is it node specific? Could you just use https://github.com/chromedp/chromedp and run it as an actually webpage and get the value from that?
-
Thoughts on Go headless browser tools for testing and scraping?
It looks like https://github.com/chromedp/chromedp is the most popular option. There's also https://github.com/playwright-community/playwright-go. Any thoughts or advice about using these tools?
- Is it possible to scrape a website protected by Cloudflare?
- Is there a library similar to HTMLUnit in GO?
-
Easiest way to MITM my browser requests/responses using Go
The alternative is to drive, for example, Chrome with the DevTools protocol (using something like https://github.com/chromedp/chromedp or https://github.com/raff/godet (this is my version of a DevTools driver).
- Web scraping libraries
-
Scrape and automate with golang
Docs are kind of meh but I always have a good time “remote controlling” chrome with this https://github.com/chromedp/chromedp
-
How to take website screenshots with Go?
chromedp is the closest analog to Node.js Puppeteer in Go, a faster, more straightforward way to drive browsers supporting the Chrome DevTools Protocol in Go without external dependencies.
-
A small web crawler - WBot
to use headless chrome to fetch dynamically rendered sites.
What are some alternatives?
cdp - Package cdp provides type-safe bindings for the Chrome DevTools Protocol (CDP), written in the Go programming language.
rod - A Devtools driver for web automation and scraping
go-selenium - Selenium WebDriver client for Go
playwright-go - Playwright for Go a browser automation library to control Chromium, Firefox and WebKit with a single API.
ginkgo - A Modern Testing Framework for Go
realize - Realize is the #1 Golang Task Runner which enhance your workflow by automating the most common tasks and using the best performing Golang live reloading.
gomate.io - Behavior-driven development tool for GoLang
gock - HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
prettybenchcmp - cmd tool for automatic storage and comparison of benchmarks results
selenoid - Selenium Hub successor running browsers within containers. Scalable, immutable, self hosted Selenium-Grid on any platform with single binary.
gorip - Facebook scraper and a basic facebook bot, made with Golang.
frisby - API testing framework inspired by frisby-js