Reputation: 11064
Title saids it all:
one@localhost ~/github/my-el $ polymer test -l chrome
step: loadPlugins
step: configure
hook: configure
Error: The following browsers were not found: chrome. (All installed browsers found: )
one@localhost ~/github/my-el $ which chrome
/usr/bin/chrome
one@localhost ~/github/my-el $ lr /usr/bin/chrome
lrwxrwxrwx 1 root root 29 Jul 8 21:25 /usr/bin/chrome -> /usr/bin/google-chrome-stable
Reference https://github.com/SeleniumHQ/selenium/wiki/DesiredCapabilities and
https://github.com/Polymer/web-component-tester/blob/master/runner/config.ts#L127
one@localhost ~/github/my-el $ cat wct.conf.json
{
"verbose": true,
"plugins": {
"local": {
"browsers": ["chrome"],
"browserOptions": {
"browserName": "/usr/bin/chrome",
"platform": "LINUX"
}
}
}
}
Upvotes: 2
Views: 676
Reputation: 11064
I found the answer here https://github.com/Polymer/web-component-tester/issues/222
place this in the shell for good times export LAUNCHPAD_CHROME=/usr/bin/google-chrome-stable
I was going to delete this post but I will leave it up for easy reference for other good souls searching for answer.
Upvotes: 3