How to verify a mailto link behind a button using Selenium WebDriver?

Viewed 32

There is a Contact Us button in a website which when clicked opens up the default mail client using the mailto link attached to it through Javascript.

How can I verify the mailto link tagged to the button using Selenium WebDriver?

0 Answers
Related