We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
正常curl 可以得到文本数据, 通过渲染反而丢失了
package main import ( "fmt" "os" "time" "github.com/go-rod/rod" ) func main() { b := rod.New().ControlURL("ws://127.0.0.1:9222/devtools/browser/6cd8b2a3-ed71-42aa-910b-e554015f772b").MustConnect() page := b.MustPage("https://wenku.baidu.com/view/98593fe25ff7ba0d4a7302768e9951e79b896989.html?fr=hp_Database&_wkts_=1699522656597&needWelcomeRecommand=1") page = page.MustWaitLoad() page.MustScreenshot("a.jpg") os.Remove("test.html") fd, _ := os.Create("test.html") html, _ := page.HTML() fd.WriteString(html) page.Close() } ` Rod Version: v0.114.2
The text was updated successfully, but these errors were encountered:
v0.114.2
Sorry, something went wrong.
#322
Please add a valid Rod Version: v0.0.0 to your issue. Current version is v0.114.5
Rod Version: v0.0.0
Please fix the format of your markdown:
2 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```jsx"]
generated by check-issue
No branches or pull requests
正常curl 可以得到文本数据, 通过渲染反而丢失了
The text was updated successfully, but these errors were encountered: