Fix because of presence of __equals__ method in some webdriver version
Merge pull request #507 from somayjain/upstream2

Tests: Fix because of presence of __equals__ method in some webdriver version