摘要:
1 // Command click is a chromedp example demonstrating how to use a selector to 2 // click on an element. 3 package main 4 5 import ( 6 "context" 7 "fmt" 8 "github.com/chromedp... 阅读全文
posted @ 2019-02-15 17:11
深夜
阅读(3020)
评论(1)
推荐(0)
摘要:
加入page.SetDownloadBehavior(page.SetDownloadBehaviorBehaviorAllow).WithDownloadPath(wd), 这句就可以下载文件了,不过chrome显示的情况下正常,如果chrome设置成headless的时候下载不正常,这个还需要进 阅读全文
posted @ 2019-02-15 17:03
深夜
阅读(2076)
评论(0)
推荐(1)