surf icon indicating copy to clipboard operation
surf copied to clipboard

Is this project support JS?

Open DeadNumbers opened this issue 6 years ago • 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

DeadNumbers avatar Jun 17 '19 19:06 DeadNumbers

If you render directly in JavaScript, that's great

⛽️

nciefeiniu avatar Apr 17 '20 01:04 nciefeiniu