url comes last

This commit is contained in:
idk
2020-04-03 11:58:51 -04:00
parent 4b22eb04d7
commit cc1aa55aa3

2
ui.go
View File

@ -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)