Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

This is the correct way of launching google chrome. If the `--homepag…

…e` property is used the port will be removed from the url.
  • Loading branch information...
commit 49f66e93462729c24c1b5eadfb88c1362712e507 1 parent d4331b7
@fabiomcosta fabiomcosta authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/browsers.js
View
4 lib/browsers.js
@@ -130,6 +130,7 @@ chrome = function(_this) {
_this.bid = uuid();
var flags = [
+ url,
"--user-data-dir="+process.env.TMPDIR+_this.bid,
"--disable-prompt-on-repost",
"--disable-metrics",
@@ -138,8 +139,7 @@ chrome = function(_this) {
"--disable-web-security",
"--temp-profile",
"--no-first-run",
- "--disable-popup-blocking",
- "--homepage="+url
+ "--disable-popup-blocking"
]
if (port) {
Please sign in to comment.
Something went wrong with that request. Please try again.