garris / BackstopJS

Catch CSS curve balls.
http://backstopjs.org
MIT License
6.69k stars 604 forks source link

Backstop opening lots of Chrome tabs with `chromePath` option #795

Open matthew-dean opened 6 years ago

matthew-dean commented 6 years ago

When setting an explicit chromePath option, if you have a Chrome browser open (with an entirely different Chrome executable), Backstop will open numerous tabs with URLs like chrome-extension://gnhhdgbaldcilmgcpfddgdbkhjohddkj/devtools/inspector.html?ws=localhost:9229/devtools/page/65EA1DD450CFAEADD0B2C98DDCEAE5F3 in the active Chrome browser, instead of within the (headless, invisible) executable set in chromePath.

This wasn't happening before we set an explicit chromePath executable.

capture2

garris commented 6 years ago

Not sure if this is a backstop issue or a puppeteer issue. Can you try this with a vanilla puppeteer script?

matthew-dean commented 6 years ago

We're using Chromy. What do you mean by vanilla script?

garris commented 6 years ago

Oh ok. Then what I mean is to.. 1 make a temp directory somewhere. 2 Install chromy into that directory.
3 Creat a script that should open a few pages (as opposed to tabs) and see if it works as expected (when setting a chrome path.)

That should tell you if it's a chromy behavior or it's something that backstop is doing.

You could also just go to the chromy repo and pose the question there. See what they say.