rudolph9
rudolph9

Reputation: 8119

Open a URL using chrome and specify the local ChromeUser, for testing purposes

For testing purposes, I am attempting to automate the opening of a URL from a script. I generally use google chrome under a special local ChromeUser solely for the purpose of testing. Local Chrome users are outlined here.

I have found this which specifies the flags when opening google chrome and it's usage discussed here, however when I execute commands a specified I run into an error:

$ /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
[0506/035142:INFO:breakpad_mac.mm(148)] Breakpad disabled
[15398:-1409084736:2001131272496316:ERROR:process_singleton_mac.cc(102)] Unable to obtain profile lock.

What is the issue with this?

Upvotes: 0

Views: 808

Answers (1)

Jeff
Jeff

Reputation: 11

There is a lock file in the Application Support folder for Chrome.

rm -f Library/Application\ Support/Google/Chrome/SingletonLock

Upvotes: 1

Related Questions