Contributions
Re: Clicking an a tag in the same div as a span containing desired text.
We can select the text of a span on click with Selenium webdriver. To identify the element with span tag, we have to first identify it with any of the locators like xpath, css, class name or tagname. After identification of the element, we can perform the click operation on it with the help of the click method. Mypascoconnect1.3KViews0likes1Comment