'Configuration Failure in TestNG

I am running the testcases with xml file and i am getting error of configuration failure in TestNG

Here are my error

java.lang.NoSuchMethodError: 'java.lang.String org.openqa.selenium.Capabilities.getBrowserVersion()'

These are my xml file:

java.lang.NoSuchMethodError: 'java.lang.String org.openqa.selenium.Capabilities.getBrowserVersion()'



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source