gemini
gemini copied to clipboard
Gemini incompatible with latest firefox v50
I was trying to run the test using gemini on firefox (v50.0.2), although the firefox browser opened successfully, it didn't open the url in the address bar. Then in the terminal I saw this error message:
Cannot launch browser firefox: [init({"browserName":"firefox"})] The environment you requested was unavailable.
Command:
sudo gemini update test.js
Code:
module.exports = {
rootUrl: 'http://example.com',
gridUrl: 'http://127.0.0.1:4444/wd/hub',
browsers: {
chrome: {
desiredCapabilities: {
browserName: 'chrome'
}
},
'firefox-latest': {
desiredCapabilities: {
browserName: "firefox"
}
}
}
};
The test runs successfully on chrome browser. I'm running MacOSX Sierra.
In the below link its mentioned that "Firefox v48+ requires Mozilla's geckodriver". Is it possible to install geckodriver with gemini? And can someone show how we can use it along with gemini?
https://groups.google.com/forum/#!topic/selenium-users/kDsWkujq0Y4
hi. there was broken changes with FF driver. And wd
tool doesn't support it yet. Try to use lower version, pls (for example, 46)
the same - https://github.com/gemini-testing/gemini/issues/643
The same issue also exist on Safari Version 10.0.1.
@sipayRT Hi guys, are you going to do something about it? Firefox 48+ is no supported by gemini.
@sipayRT Hi guys, is there any chance to fix this issue in the near future, as Firefox has reached version 55?
main problem it's wd
old version. We are going to drop support [email protected] and update wd
to the latest version
@sipayRT is there any ticket and ETA for this issue with wd
version? same problems with FF :(
unfortunately firefox still broken in wd - https://github.com/admc/wd/issues/495
Chrome is also broken?
no. Chrome should work fine
module.exports = {
rootUrl: 'http://yandex.ru',
gridUrl: 'http://127.0.0.1:4444/wd/hub',
browsers: {
chrome: {
desiredCapabilities: {
browserName: 'chrome'
}
}
}
};
gemini.suite('yandex-search', (suite) => {
suite.setUrl('/')
.setCaptureElements('.home-logo')
.capture('plain');
});
gemini test --reporter flat
I get http://prntscr.com/hjvefz and then: http://prntscr.com/hjvern
@campside hello. Are you sure that you run selenium standalone before running tests?
@DudaGod Yes, chrome would not start at all otherwise, http://prntscr.com/hjw0c0, I run webdriverio tests with it, gemini version is latest available 5.0
can you provide chrome and chrome-driver(from selenium-standalone) versions?
Latest available: 62.0.3202.94 64bit selenium-standalone, also latest available through install: http://prntscr.com/hk7jvz MacOs: 10.12.6
hm...
MacOs: 10.12.6
[email protected]
[email protected]
chrome 63.0.3239.84
[email protected] with 2.33-x64-chromedriver
works fine for me
will check everything one more time
same configuration, reinstalled modules same thing: green screen on running chrome then failure.
Is it possible that something could be missing in quick-start description? My colleague has the same result.
We have found the problem, we added: calibrate: false in .gemini.js
module.exports = {
rootUrl: 'http://yandex.ru',
gridUrl: 'http://127.0.0.1:4444/wd/hub',
calibrate: false,
browsers: {
chrome: {
desiredCapabilities: {
browserName: 'chrome'
}
}
}
};
but it's wrong solution - gemini should work with calibrate too
We have not found another way to run it
Is it possible in this case to update README and reflect the fact, that Firefox support is limited by older browsers?
I have build a docker image which support firefox 47.0.1, you could have a try here: https://github.com/Kenith/ta-visual-lib, and you could also get the samples.
Hope could be the help
Looks like this wd library is abandoned by maintainers. There is an open PR fixing that with no reaction for half a year https://github.com/admc/wd/pull/494
@sipayRT How do you feel about considering alternatives (webdriver.io or something else)?
@Hypnosphi, the latest commit in wd
repo was 11 days ago. Firefox example works fine at http://webdriver.io/guide.html.
the latest commit in wd repo was 11 days ago
OK, I'll try to summon the maintainer in that PR
Firefox example works fine at http://webdriver.io/guide.html
Yes, that's on of the reasons why I've suggested webdriver.io as an alternative
It seems like wd
fixed it in https://github.com/admc/wd/pull/533.
Gemini still fails for me with FF 61 and wd 1.10.1:
Cannot launch browser firefox:
Could not calibrate. This could be due to calibration page has failed to open properly.
@sipayRT Please have a look at #928, seems similar.