headzoo/surf

Is this project support JS?

DeadNumbers opened this issue · 1 comments

package main

import (
	"fmt"

	"gopkg.in/headzoo/surf.v1"
)

func main() {
	bow := surf.NewBrowser()
	err := bow.Open("https://www.whatismybrowser.com/detect/is-javascript-enabled")
	if err != nil {
		panic(err)
	}
	fmt.Println(bow.Find("#detected_value").Text())
}

Return No

If you render directly in JavaScript, that's great

⛽️