8000 Gemini incompatible with latest firefox v50 · Issue #688 · gemini-testing/gemini · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Gemini incompatible with latest firefox v50 #688

Open

Description

@rahuldpi

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

Activity

  1. changed the title [-]The environment you requested was unavailable[/-] [+]Gemini not compatible with latest firefox[/+] on Dec 8, 2016
  2. changed the title [-]Gemini not compatible with latest firefox[/-] [+]Gemini not compatible with latest firefox v50[/+] on Dec 8, 2016
  3. changed the title [-]Gemini not compatible with latest firefox v50[/-] [+]Gemini incompatible with latest firefox v50[/+] on Dec 8, 2016
  4. sipayRT commented on Dec 19, 2016

    @sipayRT
    Member

    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)

  5. sipayRT commented on Dec 19, 2016

    @sipayRT
    Member

    the same - #643

  6. rahuldpi commented on Dec 20, 2016

    @rahuldpi
    Author

    The same issue also exist on Safari Version 10.0.1.

  7. leonsabr commented on Aug 9, 2017

    @leonsabr
    Contributor

    @sipayRT Hi guys, are you going to do something about it? Firefox 48+ is no supported by gemini.

  8. florinalex24 commented on Aug 29, 2017

    @florinalex24

    @sipayRT Hi guys, is there any chance to fix this issue in the near future, as Firefox has reached version 55?

  9. sipayRT commented on Aug 31, 2017

    @sipayRT
    Member

    main problem it's wd old version. We are going to drop support node@4.x and update wd to the latest version

  10. bobanko commented on Nov 23, 2017

    @bobanko

    @sipayRT is there any ticket and ETA for this issue with wd version? same problems with FF :(

  11. sipayRT commented on Nov 24, 2017

    @sipayRT
    Member

    unfortunately firefox still broken in wd - admc/wd#495

  12. campside commented on Dec 6, 2017

    @campside

    Chrome is also broken?

  13. sipayRT commented on Dec 6, 2017

    @sipayRT
    Member

    no. Chrome should work fine

  14. campside commented on Dec 6, 2017

    @campside
    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

  15. DudaGod commented on Dec 6, 2017

    @DudaGod
    Member

    @campside hello.
    Are you sure that you run selenium standalone before running tests?

  16. 2 remaining items

  17. campside commented on Dec 7, 2017

    @campside

    Latest available: 62.0.3202.94 64bit
    selenium-standalone, also latest available through install: http://prntscr.com/hk7jvz
    MacOs: 10.12.6

  18. sipayRT commented on Dec 7, 2017

    @sipayRT
    Member

    hm...

    MacOs: 10.12.6
    node@8.4.0
    gemini@5.0.0
    chrome 63.0.3239.84
    selenium-standalone@6.12.0 with 2.33-x64-chromedriver
    

    works fine for me

  19. campside commented on Dec 7, 2017

    @campside

    will check everything one more time

  20. campside commented on Dec 7, 2017

    @campside

    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.

  21. campside commented on Dec 7, 2017

    @campside

    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'
                }
            }
        }
    };
    
  22. sipayRT commented on Dec 7, 2017

    @sipayRT
    Member

    but it's wrong solution - gemini should work with calibrate too

  23. campside commented on Dec 7, 2017

    @campside

    We have not found another way to run it

  24. betalb commented on Feb 1, 2018

    @betalb

    Is it possible in this case to update README and reflect the fact, that Firefox support is limited by older browsers?

  25. Kenith commented on Apr 18, 2018

    @Kenith

    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

  26. Hypnosphi commented on May 10, 2018

    @Hypnosphi

    Looks like this wd library is abandoned by maintainers. There is an open PR fixing that with no reaction for half a year
    admc/wd#494

    @sipayRT How do you feel about considering alternatives (webdriver.io or something else)?

  27. generalov commented on May 11, 2018

    @generalov

    @Hypnosphi, the latest commit in wd repo was 11 days ago. Firefox example works fine at http://webdriver.io/guide.html.

  28. Hypnosphi commented on May 11, 2018

    @Hypnosphi

    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

  29. kennyw12 commented on Aug 1, 2018

    @kennyw12

    It seems like wd fixed it in admc/wd#533.

  30. Hypnosphi commented on Aug 2, 2018

    @Hypnosphi

    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.
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0