 <p>It may be because there might be one more button with same property , so try to find element uniquely then try. Ex: Two button having same attributes at that time webdriver will fail so user in case of multiple element having same property try to find element uniquely with relative xpath</p>