<a href="javascript:;" class="btn green request-action-btn" data-request-status="Approved" data-id="212"> Approve </a>
How can I get this element in selenium C#. I tried by:href ,Xpath, ID, class name, text name but I couldn't get this element
Selenium WebDriver is available in five official programming languages: Ruby, Java, Python, JavaScript, and C Language.
Selenium is an open-source, web Automation Testing tool that supports multiple browsers and multiple operating systems. It allows testers to use multiple programming languages such as Java, C#, Python, . Net, Ruby, PHP, and Perl for coding automated tests.
Webdriver++ is a C++ client library for Selenium Webdriver which you have to install and have the following feature support: Chainable commands. Value-like objects compatible with STL containers.
Selenium is an open-source Web UI automation testing suite. It was developed by Jason Huggins in 2004 as an internal tool at Thought Works. It supports automation across different browsers, platforms, and programming languages which includes Java, Python, C#, etc.
you can click by Link text
driver.FindElement(By.LinkText("Approve")).Click();
or by CSS Selector
.btn.green.request-action-btn
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With