Skip to content
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...
1 parent d4331b7 commit 49f66e93462729c24c1b5eadfb88c1362712e507 @fabiomcosta fabiomcosta committed
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) {

0 comments on commit 49f66e9

Please sign in to comment.
Something went wrong with that request. Please try again.