Browser compatibility with selenium for testing forms - selenium

I want to test forms quickly and reliably. I thought selenium-ide would be the answer but was put off by the fact that newer versions of firefox do not support the selenium-ide plugin. Would other selenium products such as selenium3 enable me to test forms in up to date versions of firefox (eg 57.01)?

Yes. Here you can see Selenium 3 compatiblity with FF :
Firefox 38 and lower, use Selenium 2.46.0
Firefox < 47, use Selenium 2.53.1
Firefox >= 47, use Selenium 3.0.1 or later

Related

Version compatibility of Firefox and the latest Selenium IDE (2.9.1.1-signed)

I visited https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/
to install the latest Selenium IDE (v 2.9.1) in Firefox.
My Firefox version is 54 (64-bit)
OS: Windows 10 Pro 64-bit (10.0, Build 14393)
But unfortunately "Add to Firefox" button was shown disabled on the site https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/
On that site NOTE was found as:
Note: Selenium IDE will NOT work on Firefox version 55 onwards. Please stay on Firefox version 54 or older.
What can I do to install Selenium IDE on FF 54?
Sad but true, It is no secret by now that Selenium IDE will be deprecated. In fact, it has already stopped working since Firefox 55. Here are some potential replacements that you may consider applying to your project:
Robot Framework
Katalon Studio
Protractor
TestProject
Good luck and Good bye Legend.
I think Firefox is not supported Selenium IDE after 53 or 54 version, I have read that blog
https://seleniumhq.wordpress.com/2017/08/09/firefox-55-and-selenium-ide/
Firefox 55 doesn't support Selenium IDE 2.9.1. FF 54 and less are OK.
Installation Selenium IDE on FF 54:
1. Open Firefox 54 and visit https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/
2. Click "Download Anyway" link to download (In my case, it was selenium_ide-2.9.1-fx.xpi)
Open .xpi file you download in Firefox 54 -> Click Install and then Restart Now according to following interface:
I faced the similar issues few weeks ago.Firefox version 55 doesn't support Selenium IDE. You need to downgrade your Firefox browser to Firefox version 54, 53 or below.
For doing so, please refer the link below
https://support.mozilla.org/en-US/kb/install-older-version-of-firefox
Also, you need to delete all your old firefox data before installing older version because it might not work if you don't do so.
Then finally you can add Selenium IDE and it works fine.
I need to run Firefox 54 with Selenium but, like the others on this question, wasn't able to easily install Selenium. I did find a way to do this without going to a 3rd party site by copying the XPI download link (just right click on the disabled Add to Firefox button in the Firefox Add-ons page and copy the location), downloading it within Chrome or another browser, and finally just drag and drop the XPI into Firefox. That worked for me, hope this helps someone else.
Ironically, the best versions of selenium and Firefox that work better, powerful and with more options (according to my experience), are those, Firefox 54.0.1 and selenium 2.9.1. Despite they are deprecated. So I understand well your question and need.
Here you have a trick to install that Selenium version in that Firefox version, getting away the inactive add-on button:
Download manually the selenium version 2.9.1 (as a file) and then add it manually through "Install Add-on from file" in Firefox in the section "Extensions".
This is the link to download selenium 2.9.1:
https://ui.vision/howto/getseleniumide

Does GEB supports selenium 3.0 version?

Does GEB supports selenium 3? What is the most updated selenium version that geb supports? As per geb document, it is Selenium 2.52. Is that still correct..
Thanks
Yes, it is compatible with Selenium 3 as aparently Selenium 3 is backwards compatible with Selenium 2.
I would have switched Geb's build to 3 by now but some of the tests are using FF as the driver and I'd need to switch it over to Chrome given that Marionette, the new FF driver, is not finished yet and you have to use it with 3 as far as I understand.

Use most recent browser version with JMeter Selenium Webdriver

Im trying to use JMeter with the Selenium WebDriver plugin to do some testing. I know that it requires Firefox v. 26, however I find this to be pretty useless given that testing on anything besides the most recent browser version is pointless, as that is what users will be using.
Using the current WebDriver plugin with Firefox v 50 results in the 'browser.get()' not working. Is there a way to get the plugin to work with Firefox 50?
The latest Selenium/WebDriver Support plugin available via JMeter Plugins manager as of now is version 1.4.0. It comes with selenium-firefox-driver-2.52.0
It means any browser supported by Selenium 2.52.0 will be supported
Looking into Selenium Changelog Selenium 2.52.0 supports Firefox 45 which is an ESR release according to Mozilla FAQ:
I don't know where did you get the information regarding Firefox 26, I would recommend upgrading to Firefox 45 which should be supported till June 2017 and hopefully JMeter Plugins maintainers will upgrade Selenium libraries to version 3 by that time.
In general WebDriver will be always behind the browsers development so you will have to live with the supported versions.
References:
JMeter Plugins Forum
The WebDriver Sampler: Your Top 10 Questions Answered

GeckoDriver support for protractor to execute latest FF versions

As we know, Selenium Webdriver 2.53.1 is limited to Firefox browser 45/46 and its below versions.
Selenium 3 was launched by removing entire Selenium RC Core along with additional support on latest browsers recently. It uses GeckoDriver to drive the latest Firefox browsers.
However, is there any implementation of Protractor to support the latest Selenium 3 and GeckoDriver driven tests to handle latest FF versions.
Does Protractor tests are limited to FF45, FF46?
When I launch firefox 48.0.1 with Selenium 2.53.1 through browser.get("http://example.com"), the browser is opened as usual but not the url as shown below,
capabilities: {
browserName: 'firefox',
},
Note: As far as I know, the latest Firefox versions have inbuilt algorithms to handle GeckoDriver and selenium 3 APIs, cos, the FF terms are made strict to avoid external breaches. FF 47+ versions are Gecko-based browsers.

Selenium WebDriver and Opera Driver

I would like to run my Selenium WebDriver tests on Opera, but when I had a look at the Opera driver at Selenium HQ and GitHub page, it says:
Opera Driver requires Opera 12.x and older versions
Note that OperaDriver is only compatible with Presto-based Operas up until 12.16. Blink-based Operas (15 and onwards) are not supported.
Opera is now up to version 22.0, so far beyond the maximum supported version of 12. So, my questions are: -
If there is no Opera driver for Selenium, then how does one automate Opera tests?
It seems strange to stop at version 12, even taking the underlying technology change into account. Is Opera support waning or is it that Selenium WebDriver is no longer the best tool?
Opera has just released an early beta of WebDriver for their Blink based browsers. See https://github.com/operasoftware/operachromiumdriver
To quote from the link provided:
OperaChromiumDriver can be used without extra setup on Chromium-based versions of Opera starting from version 26.
For driving Presto-based Opera browsers, refer to the OperaPrestoDriver project.
Although versions earlier than 26 aren't officially supported, the OperaChromiumDriver v. 0.1.0 works with Opera 25. On Windows using the 'binary' option in 'operaOptions' may be needed.
Download OperaDriver from here and write the following code for java:
System.setProperty("webdriver.opera.driver", "D:/Ripon/operadriver_win64/operadriver.exe");
WebDriver driver = new OperaDriver();
driver.get("https://duckduckgo.com/");
1 & 2)
There are 2 types of Opera - Java Based and Chrominium based.
The provided links are for Java based Opera.
https://github.com/operasoftware/operadriver#desktop
There is no official support for latest Opera versions.