Fix because of presence of __equals__ method in some webdriver version

On the CI Server, the webdriver version being used, the WebElement class has a method __equals__ , because of which the comparison option == None gives an error when option is a WebElement.