go-rod / rod

A Chrome DevTools Protocol driver for web automation and scraping.
https://go-rod.github.io
MIT License
5k stars 328 forks source link

Some website load fail without -rod=show #1036

Open zhanxiaox opened 2 months ago

zhanxiaox commented 2 months ago

Rod Version: v0.114.8 catch_go_debug4

browser minimization also fails,if use -rod=show there will be no problems.

ysmood commented 2 months ago

Could you try the v0.115.0

zhanxiaox commented 2 months ago

Could you try the v0.115.0 thank you,it seem sloved,could you tell me what's causing it?and there will always be a pop-up chromedev window after updating the version.how could i close it.

ysmood commented 2 months ago

Works fine to me, no popup:

package main

import (
    "github.com/go-rod/rod"
    "github.com/go-rod/rod/lib/utils"
)

func main() {
    rod.New().MustConnect().MustPage("https://www.bilibili.com/")
    utils.Pause()
}