On a Mac, open
just handles files, it doesn’t know about GET parameters. So the AppleScript approach is the way to go here:
osascript -e 'tell application "Google Chrome" to
open location "file:///Users/t/uivision/demoautofill.html?direct=1&closeBrowser=1&savelog=demotestlog.txt"'
Screenshots:
(1) In command line:
(2) In applescript: