how to click on a ref link on Selenium C3

0 votes
Sep 4 in Selenium by anonymous
20 views
By Selenium C3, do you mean Selenium C#?

1 answer to this question.

+1 vote

To click on a href link using Selenium C#, you can use following command:

driver.FindElement(By.LinkText("Accounts")).Click();     

or

driver.FindElement(By.TagName("a")).Click();
answered Sep 5 by Abha
• 23,960 points

Related Questions In Selenium

0 votes
1 answer
+2 votes
1 answer
0 votes
1 answer
0 votes
2 answers

Python & Selenium: How to find and click on YouTube's Like button

Hello Nitin, as the Like button on ...READ MORE

answered Aug 23 in Selenium by Abha
• 23,960 points
632 views
0 votes
1 answer

How to click a span with given text using Selenium Python

If ALL_USA is subject to change, then ...READ MORE

answered Jul 26, 2018 in Selenium by Samarpit
• 5,130 points
1,894 views
0 votes
5 answers
0 votes
1 answer

How to use link as a locator to find element in selenium?

Hello @Jino, its amazing to explore ways ...READ MORE

answered Dec 21, 2018 in Selenium by Nabarupa
97 views
0 votes
1 answer

How to click on a hyperlink using Selenium WebDriver?

Hi Jonathan, you can use click() method in ...READ MORE

answered May 29 in Selenium by Abha
• 23,960 points
320 views
0 votes
1 answer

How to Click a Link by href value in Selenium WebDriver?

Hi Ujjwal, you can use following code ...READ MORE

answered Aug 14 in Selenium by Abha
• 23,960 points
165 views