linux环境继续使用chrome浏览器
This commit is contained in:
parent
51a0ac51df
commit
71b24a9e14
|
@ -309,7 +309,7 @@ func (c *Core) initNotWindows() {
|
|||
pwt, err := playwright.Run(&playwright.RunOptions{
|
||||
DriverDirectory: dir + "/tools/driver/",
|
||||
SkipInstallBrowsers: false,
|
||||
Browsers: []string{"msedge", "chromium"},
|
||||
Browsers: []string{"chromium"},
|
||||
})
|
||||
if err != nil {
|
||||
log.Errorln("[core]", "初始化playwright失败")
|
||||
|
|
Loading…
Reference in New Issue