url comes last
This commit is contained in:
2
ui.go
2
ui.go
@ -171,8 +171,8 @@ func NewFirefox(url, dir string, width, height int, customArgs ...string) (UI, e
|
||||
args = append(args, dir)
|
||||
args = append(args, "--window-size")
|
||||
args = append(args, fmt.Sprintf("%d,%d", width, height))
|
||||
args = append(args, url)
|
||||
args = append(args, customArgs...)
|
||||
args = append(args, url)
|
||||
//args = append(args, "--remote-debugging-port=0")
|
||||
log.Println(ChromeExecutable(), args)
|
||||
|
||||
|
Reference in New Issue
Block a user