Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Any idea what the command is for windows?

start /b "" "C:\Users\User\AppData\Local\Google\Chrome\Application\chrome.exe" --args --record-mode

doesn't seem to work



1. Close all chrome windows, open a cmd prompt, then cd to c:\users\user\appdata\local\google\chrome\application

2. run chrome.exe --record-mode ( /record-mode also works)

3. navigate in a predetermined way, then close chrome

4. run chrome.exe --playback-mode ( /playback-mode also works)

5. navigate in the same predetermined way. Those clicks will all work. Any other clicks will not work and result in 'cache miss' errors.


Create a separate profile or close _all_ open Chrome windows first.

  "c:\path\to\chrome\dir\chrome" --user-data-dir="c:\path\to\chrome\dir\User Data/test" --record-mode


--args is an option to the OS X open command, you shouldn't need it on windows. My guess is:

start /b "" "C:\Users\User\AppData\Local\Google\Chrome\Application\chrome.exe" --record-mode

Report back if it works!


No luck :(


You can just run the executable, you don't need to call start.

"C:\Users\User\AppData\Local\Google\Chrome\Application\chrome.exe" --record-mode


I've tried that also but still no luck. I have the commands in separate bat files but I wouldn't expect that to affect it, or I might be using the wrong chrome executable?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: