Automation Testing

Selenium WebDriver 2.45.0 Released

By Test Guild
  • Share:
Join the Guild for FREE

Selenium WebDriver 2.45.0 now Available

Late last week the newest version of Selenium 2.45.0 was released. This is the first new version of Selenium for 2015 and included fixes for all the Selenium Language bindings Java, C#, Ruby, Python and JavaScript(node).

What Selenium 2.45.0 Includes
Here is what's been enhanced/fixed/changed in the latest 2.45.0 versions:


Java

  • The biggest change in this release is that Native events in Firefox relied on an API that Mozilla no longer provides.
  • This is cool àWhen Selenium is unable to interact with an element, such as the case when an element is missing or disabled, this change will output exactly how Selenium is attempting to locate the element, such as the XPath or id of the element. This is awesome because it greatly speeds up troubleshooting issues, as the exception message clearly states what element is broken/missing for common problems like an ElementNotFoundException.
  • Improvement made to ByCssSelector#toString
  • They removed the automatic installation of the SafariDriver in Java.
  • The PhantomJS driver has been upgraded
  • Pull HttpClient implementation details out of HttpCommandExecutor.
  • The issue 8254 was fixed: Extensions were incorrectly transferred between Windows client and Linux grid node, because ZipEntry had incorrect name with ‘\' as separators.'
  • Adding capabilities and browser type for Opera Blink, and configuring tests to run in Opera Blink.
  • Support for Blink-based Opera to Java binding added.
  • Yosemite platform support added.
  • Allow setting an arbitrary platform capability even if it can't be converted to Platform enum. Non-standard platform values can cause matching issues on Grid, but they can be usable for third-party Grid implementations.
  • Taking XML namespaces into account when searching by XPath. Checked to work in Firefox. Chrome supports namespaces out of the box. Need to update IE and Safari drivers to use the updated atom and test them carefully.

C#

  • Removed automatic installation of SafariDriver extension for .NET.
  • Added initial implementation of .NET bindings OperaDriver.
  • Added option to not delete anonymous Firefox profile in .NET.
  • Introduced type safe option in InternetExplorerOptions to set the capability to disable check of mime type of the document when setting cookies.

Ruby

  • Added ability to switchwindows when current window is closed
  • Added javascript_enabled to Android capabilities.


Python

  • Firefox support up to 35, support for native events up to 34.
  • Make Opera driver support also the new Blink based Opera
  • WebElement docstring fixes added
  • Add debugger_address option to the ChromeDriver options list to optionally instruct ChromeDriver to wait for the target devtools instance to be started at a given host:ip
  • Set default value for PhantomJS process reference
  • Allow setting of FileDetector for send_keys
  • Pass info to TimeoutException in WebDriverWait
  • The following Issues were fixed: 8065, 8310, 8539

Javascript(Node)

  • The task callbacks issue of dropping if the task was cancelled due to a previously uncaught error within the frame has been fixed.
  • The extending the chrome.Options API to cover all configuration options (e.g. mobile emulation and performance logging) documented on the ChromeDriver project site was fixed.
  • Starting with the 2.45.0 release, selenium-webdriver will support the last two stable minor releases for Node. For 2.45.0, this means Selenium will support Node 0.10.x and 0.12.x. Support for the intermediate, un-stable release (0.11.x) is “best-effort”. This policy will be re-evaluated once Node has a major version release (i.e. 1.0.0).

For More Selenium WebDriver Changes Info

To get the full change log info for each language make sure to check out the official change docs at:
http://docs.seleniumhq.org/download/

  1. I would like to know how to support XML namespaces in Ruby, it’s still not able to locate element like: //x:div

Comments are closed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Leveraging AI and Playwright for Test Case Generation

Posted on 11/22/2024

Two BIG trends the past few years in the software testing space been ...

Symbolic AI vs. Gen AI: The Dynamic Duo in Test Automation

Posted on 09/23/2024

You've probably been having conversations lately about whether to use AI for testing. ...

8 Special Ops Principles for Automation Testing

Posted on 08/01/2024

I recently had a conversation, with Alex “ZAP” Chernyak about his journey to ...

Register for AutomationGuild 2025 Online Event (Before Early Price Increase) - Join Now! >>