playwright-go
hlive
Our great sponsors
playwright-go | hlive | |
---|---|---|
8 | 7 | |
1,785 | 97 | |
7.1% | - | |
7.5 | 0.0 | |
15 days ago | 5 months 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.
playwright-go
-
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?
-
How to run Playwright for Go using local Chrome
The following is sample code to achieve this. (Most of the code below is based on the sample in the README of Playwright for Go.)
-
Web scraping libraries
Use go playwright. https://github.com/playwright-community/playwright-go
- Looking for a lightweight headless browser for ARMv7
-
How to take website screenshots with Go?
Playwright is the best Go library to automate Chromium, Firefox, and WebKit with a unified API. It is built to enable cross-browser web automation.
-
HLive Update: Added Testing, Plugins, PubSub, and more. See comments for details
Seems that https://github.com/mxschmitt/playwright-go is sort of doing a similar thing in terms of controlling the frontend ?
-
Browser Automation
For python I used mechanize and later iteration, for go playwright is similar using a real headless browser which works very well.
-
Does Golang have stable support for Selenium WebDriver?
Similar story for Playwright. It supports more browsers than Puppeteer, and there are bindings for Golang, but it still isn't Selenium.
hlive
- Any open source projects need help ?
-
What makes Go unsuitable for UI development?
I do a lot of wired stuff with server-side virtual DOM, and I've found Go a good fit. I don't think inheritance is a problem with designing a component library. I've used struct and interface embedding to share common functionality. (see Tag and Tagger, then Component and Componenter as sort of examples).
-
My experiment in creating a good-performing alternative to ReactJS in Go
Poking through the repo at https://github.com/SamHennessy/hlive now. It's particularly interesting to me because I wanted to write a virtual DOM for something that did serverside rendering and clientside via WASM. I wanted to be able to parse a template language much like jsx or Angular templates for a delcarative syntax. A friend of mine I worked with years ago and I set up a 3 day hackathon. We went through some design work, decided we didn't have time in our lives to take on a project like this, and settled on using Go's html templating. I tried to reuse a lot of the concepts using a two pass method (since you can't hook into the parsing but can always register DOM listeners) thinking I could accept a little inefficiency in exchange for a lot less work. Finally, the weekend was over. We had some interesting ideas collected with some innovative new thoughts on state management, but he dove into his next project using Vue instead, and I haven't had time to continue.
-
Side projects
I'd appreciate it if you tried to build something using this: https://github.com/SamHennessy/hlive
- HLive Update: Added Testing, Plugins, PubSub, and more. See comments for details
- What frontend libraries do exist in Go?
- Looking for early feedback on my new Phoenix LiveView inspired project.
What are some alternatives?
rod - A Devtools driver for web automation and scraping
live - Live views and components for golang
chromedp - A faster, simpler way to drive browsers supporting the Chrome DevTools Protocol.
go-app - A package to build progressive web apps with Go programming language and WebAssembly.
taiko - A node.js library for testing modern web applications
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
go-selenium - Selenium WebDriver client for Go
pulp - Dynamic, server-side web-applications.
cdp - Package cdp provides type-safe bindings for the Chrome DevTools Protocol (CDP), written in the Go programming language.
golive - ⚡ Live views for GoLang with reactive HTML over WebSockets 🔌
fakebrowser - 🤖 Fake fingerprints to bypass anti-bot systems. Simulate mouse and keyboard operations to make behavior like a real person.
Bulma - Modern CSS framework based on Flexbox