Whats are the Protractor Supported versions of Firefox, IE and Safari? - protractor

Whats are the Protractor Supported versions of Firefox, IE and Safari?
My test does not run in Firefox latest version.

#High level Protractor is just a wrapper around webdriver. It depends on browser versions you want to test en the webdrivers for that browsers you have downloaded with webdriver-manager as said by #alecxe.
Currently there are some known issues with the webdrivers that can also be found on the Protractor GitHub:
Firefox latest has problems with Angular2 apps, see this link, as far as I can remember Protractor worked till Firefox 47, it broke due to problems in de webdriver of Firefox from version 48-50 and it started working from 51, but not for Angular 2.
IE11 works
Microsoft Edge, see this, as far as I can see still not stable on version 14.
Safari 9, works, but it's with the old Safari Driver, it misses a lot of user interactions like Tabs, mouse events and so on.
Safari 10, I've heard that it works with the latest version of the Safari webdriver, don't heave experience with it, see also here for a guy who had problems with it but got it working.
Chrome, should work with all latest versions if you always keep you ChromeDriver up-to-date.
Hope this gives you a good idea!

Protractor depends on the webdriver-manager package which now, since version 12.0.0, installs the latest versions of selenium-webdriver, iedriver, chromedriver and geckodriver.
Then, to determine which browser versions are supported, you need to see what driver version was installed by the webdriver-manager:
$ webdriver-manager status
and then look up what browser versions your installed driver version supports.
My test does not run in Firefox latest version.
In your case, you might be experiencing this problem:
Webdriver-manager will now by default grab the latest versions of all
binaries (standalone, chromedriver, iedriver, gecko driver). Use the
--versions.(binary name) to pin to a specific version. Selenium standalone 3.0.1 has a bug which prevents it from working with any
version of FireFox. We have tested version 3.0.0-beta4 and know that
it works with FireFox 51, and we expect that the 3.0.2 release will
also work.
Which currently means that you should be able to fix it by running:
$ webdriver-manager update
Or, you may also try the directConnect mode.

Related

Debugging GWT on newer browsers

I am working on a GWT project right now. I have Firefox 30, and Chrome 35, but cannot seem to find the plugin for Dev mode on both these browsers. Do I need to download an older version of these browsers, or am I missing something?
See this answer for details. Essentially, the developer plugin is not supported on newer browsers, you must use "SuperDevMode" instead.

which version of mobile firefox in android, fully supports extension?

I made an addon to Dektop Firefox using addon-sdk. now i want to launch it into firefox mobile(fennec) in android. I am using android 4.0.3 emulator. I have installed mobile firefox browsers(almost all versions) in it. im trying to install my addon to mobile firefox using addon-sdk. in this step i am getting different types of errors.
1.some addons installed with disable mode, but not working enable/disable option.
2.for some addons, i am getting "addon installed,restart required" option, but after restart, addon not visible in addon manager
please, provide atlesat one working way, to develop and install firefox addons(any simple) in fennec(any version) in andoid (any emulator/any mobile).
Thanks,
You are asking the wrong question. Any version of Firefox Mobile supports extensions, no problems here. However, its user interface is very different from the desktop Firefox which means that extensions built for the desktop Firefox usually won't work without adjustments. So the correct question would be:
Which version of the Add-on SDK supports Firefox Mobile?
You need Add-on SDK 1.5 or higher. When running cfx you will have to use --force-mobile command line flag to make sure that your extension is marked as compatible with Firefox Mobile. There will still be limitations however, most SDK modules currently don't support Firefox Mobile. Add-on SDK 1.8 lists the following modules as supporting Firefox Mobile:
page-mod
page-worker
request
self
simple-storage
timers
Wladimir is correct, and I would only add that we are working on expanding module support on native Fennec. If you want to play with some additional Fennec features in an SDK-based add-on right now, you can get access to the NativeWindow and BrowserApp objects Fennec implements by using this code in a module:
let utils = require('api-utils/window-utils');
exports = {
BrowserApp: utils.activeBrowserWindow.BrowserApp,
NativeWindow: utils.activeBrowserWindow.NativeWindow
};
The documentation for these objects is on MDN:
https://developer.mozilla.org/en/Extensions/Mobile/API/BrowserApp
https://developer.mozilla.org/en/DOM/window.NativeWindow

How to make crx xpi generate a Firefox 12.0 compatible .xpi

I have a Firefox Add-on, I wrote it with the Add-on Builder, it worked in Firefox 11.0. I copied the files into a set of directories on my hard drive and used cfx xpi of the Firefox Add-on SDK 1.6.1 to generate an .xpi and it worked it Firefox 11.0. I edited my main.js in the Add-on Builder and downloaded the .xpi and it works in Firefox 12.0. I modified the main.js on my hard drive, ran cfx xpi, and then when I tried to load the resulting .xpi, it says that it can't install because it is not compatible with Firefox 12.0.
How can I make this work?
For some reason, Add-on SDK 1.6 uses these compatibility settings:
<em:minVersion>10.0</em:minVersion>
<em:maxVersion>12.0a2</em:maxVersion>
So the add-ons it produces by default will only be compatible with an alpha version of Firefox 12 but not the final release. You should take the advise from the documentation and edit python-lib/cuddlefish/app-extension/install.rdf. It would make sense to use 14.* as maxVersion because addons.mozilla.org already lists it as a valid version.
Update: Current versions of the Add-on SDK have more sensible compatibility ranges. However, if you need to change them - starting with Add-on SDK 1.12 the file can be found under app-extension/install.rdf (current documentation).
Probably too late but complete doc about min/maxVersion of generated xpi and changing them is here.

Google Web Toolkit Developer Plugin supported Firefox versions

How can I find which version of Firefox does the Google Web Toolkit Developer Plugin support ? I can't find it anywhere.
As Firefox now has it small development cycle, it could be nice if Google point us to a page where we could find the supported browsers versions.
For information :
I'm using Firefox version 5.0 with no problem.
I saw on Google Groups people saying that the version 8.0 works too.
Actual version of Firefox is 11.
EDIT 1 :
Last supported version can be found here http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt/update.rdf as suggested by Thomas.
<em:minVersion>3.0</em:minVersion>
<em:maxVersion>16.0.*</em:maxVersion>
EDIT 2 :
The file pointed in EDIT 1 do not seems to exist anymore, so the best shot it looking at the commits logs, here : https://code.google.com/p/google-web-toolkit/source/list
ex:
r11637 update for Firefox 23 / Mac
r11636 update for Firefox 23 on Windows
The DevMode plugin supports all versions of Firefox from 3.0 to 11.0: http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt/update.rdf
There's always some lag after a Firefox version is released, but a preliminary version of the DevMode plugin is generally available "unofficially" from the GWT Google Groups a few days (or even hours) after the Firefox release, pending code review before it graduates to the SVN repository. The problem is that the plugin has to be recompiled against the updated Gecko SDK, which is released a few hours or days after Firefox.
…and then the http://gwt.google.com/missing-plugin/ also lags a few days/hours behind (it hasn't yet been updated for Firefox 11 at the time I write), but the plugin for Firefox 11 can be downloaded from the SVN repository.
Mozilla is hiding their ftp server with "old" releases pretty good.
Here is the URL: ftp://ftp.mozilla.org/pub/firefox/releases/11.0/
In case you are looking more infomation about how to install/remove/features of the google plugin,
you can look at google plugin tutorial

Download the GWT Developer Plugin For Firefox - cannot install plugin update

I have GWT 2.3 installed; Today I tried to update the FF dev plugin but since it was updated it says
"This add-on will be installed when Firefox is restarted"
... but each time I restart FF I can see the same note :( So restarting does not make any effect I tried more than 5 times yet :S Before the update attempt all worked fine.
The plugin link is https://dl-ssl.google.com/gwt/plugins/firefox/gwt-dev-plugin.xpi but maybe the plugin version is somehow is not for my GWT 2.3? I am not pretty sure here :S
So my question is can I rollback the new fail installed plugin or what should I do to restore my previous FF dev plugin?
Need more information to properly answer. But I'm going to assume you are using Firefox 11 and the browser plugin won't install. You can install the GWT plugin for FF11 from here: http://acleung.com/gwt-dev-plugin-ff11.xpi
Google tends to lag behind by a few weeks when new Firefox releases come out as the plugins have to go through proper testing before they are pushed to the official "missing plugin" page. To get the latest plugin when a new version of Firefox comes out, check out the Google Groups for GWT, as Alan Leung (a GWT dev) will post the latest builds within a day or so of release.