Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promise returned by *get* never resolved in Firefox Aurora and Firefox Nightly #1100

Closed
marco-c opened this issue Oct 2, 2015 · 4 comments
Closed

Comments

@marco-c
Copy link

marco-c commented Oct 2, 2015

var webdriver = require('selenium-webdriver'),
    By = require('selenium-webdriver').By,
    until = require('selenium-webdriver').until;

var firefox = require('selenium-webdriver/firefox');
var binary = new firefox.Binary('/path/to/firefox-bin');
var options = new firefox.Options().setBinary(binary);
var driver = new firefox.Driver(options);

driver.get('http://www.google.com/ncr').then(function() {
  console.log("Loading completed!");
})
driver.findElement(By.name('q')).sendKeys('webdriver');
driver.findElement(By.name('btnG')).click();
driver.wait(until.titleIs('webdriver - Google Search'), 1000);
driver.quit();

The Loading completed! message isn't logged if you run with Firefox Aurora or Firefox Nightly.

@jleyba
Copy link
Contributor

jleyba commented Oct 2, 2015

Only Firefox versions ESR, ESR-1, N, and N-1 are supported by Selenium.

@jleyba jleyba closed this as completed Oct 2, 2015
@marco-c
Copy link
Author

marco-c commented Oct 2, 2015

Is 'N' the release version?

I've managed to temporarily circumvent the problem with some very bad code:

driver.executeScript(function() {
  window.location = 'url';
});
driver.sleep(5000);

I imagine most commands won't work after something like this, but the ones I strictly need are working.

@lukeis
Copy link
Member

lukeis commented Oct 2, 2015

yes, N is the release channel. If you'd like to run Aurora / Nightly I suggest you use marionette instead:
https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver

@marco-c
Copy link
Author

marco-c commented Oct 2, 2015

yes, N is the release channel. If you'd like to run Aurora / Nightly I suggest you use marionette instead:
https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver

Thank you!

@lock lock bot locked and limited conversation to collaborators Aug 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants