Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Sep 11, 2018 15:16

Problem

The following error is thrown when closing a tab in Firefox:

WebDriverError: Missing 'handle' parameter

Solution

This is a known issue in Selenium 3.6 and 3.8, here is the link to the issue on Selenium GitHub: 

https://github.com/SeleniumHQ/selenium/issues/5064

The workaround is to use Selenium version 3.4 through capabilities, this can be done by adding the "seleniumVersion" capability to the test and setting it to "3.4.0":


'seleniumVersion': '3.4.0'


For more information on this capability, see Defining capabilities


Here is a full capabilities example in JavaScript:

capabilities: {
  'securityToken':'securityTokenHere',
  'seleniumVersion': '3.4.0',
  'platformName': 'Windows',
  'platformVersion': '10',
  'browserName': 'Firefox',
  'browserVersion': '62',
}



Related articles