GeckoDriver support for protractor to execute latest FF versions - selenium

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.

Related

Browser compatibility with selenium for testing forms

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

Which Firefox version is compatible with Selenium 3.6.0

I would like to update the Selenium version 3.6.0 and I was wondering which is the best version of FF to use if Gecko driver is not used?
Any help will be highly appreciated.
Selenium with Gecko Driver
Selenium Release Perspective :
Selenium v3.6.0 (Java) Release explicitly didn't mention any dependency explicitly.
The last dependency explicitly mentioned by Selenium was for v3.4.0 which is as follows :
Geckodriver 0.16 is strongly recommended
GeckoDriver Release Perspective :
GeckoDriver v0.19.0: Firefox 55.0 (and greater) & Selenium 3.5 (and greater)
GeckoDriver v0.18.0: Firefox 53.0 (and greater)
GeckoDriver v0.16.0: Selenium 3.4 (and greater)
Mozilla Firefox Versions :
Ideally, each Selenium release should support each version of Mozilla Firefox releases (starting with Firefox 48.x) where the property "marionette" needs to be set to true (either by default or through configuration) as follows:
cap = DesiredCapabilities().FIREFOX
cap["marionette"] = True
If you are working with the legacy Firefox releases (till Firefox 47.x) GeckoDriver still works but you have to explicitly set the property "marionette" to false as follows:
cap = DesiredCapabilities().FIREFOX
cap["marionette"] = False
GeckoDriver, Selenium and Firefox Browser compatibility chart
You would need to use GeckoDriver if you want to run your scripts in Firefox versions greater than 47.0.1. Firefox 47.0.1 and before would not need GeckoDriver.
source: http://www.automationtestinghub.com/selenium-3/
You would need to use GeckoDriver if you want to run your scripts in Firefox versions greater than 47.0.1. Firefox 47.0.1 and before would not need GeckoDriver

Which drivers come out the box with Selenium Standalone Server?

Here you can see how to make Selenium Standalone Server use the chromedriver. My question is, which drivers are include out the box in the Selenium Standalone Server jar?
Should I use the browsers drivers instead of the drivers included in the Selenium Standalone Server jar?
I know that with Firefox the Selenium Team recommend use the Firefox driver, but what about the others browsers?
The post you have pointed out as how to make Selenium Standalone Server use the chromedriver is a demonstration of using Selenium Standalone Server in Grid configuration i.e. through setting up Selenium Grid Hub and Selenium Grid Node.
Selenium 3.x releases doesn't supports any of the drivers out the box in the Selenium Standalone Server jar.
The main reason behind Selenium Team recommending to use the geckodriver (Firefox) and Mozilla Firefox Browser because both geckodriver and Mozilla Firefox Browser follows the W3C Specifications.

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

Suitable Chrome driver to use with selenium tests

I was wandering since there is many chrome drivers available on the nuGet Packages Manager, which one is fitting the best with Selenium tests, does it make any difference at all?
WebDriver ChromeDriver
WebDriverChromeDriver
Selenium.WebDriver.ChromeDriver
etc...
I'm using for my >30K lines of code (and 6 different web-sites) UI test project the
WebDriver ChromeDriver
with version 26.14.313457.1, it's a separate executable that WebDriver uses to control the Chrome browser. Again it requires Chromium/Google Chrome to be installed.