<a href="javascript:void(0);" onclick="$.post('dinamik/sorularList.php', {'page' : 5}, function(data){
$('#dataContainer').html(data); }); return false;"><i class="bi bi-arrow-right-square-fill"></i></a>
<i class="bi bi-arrow-right-square-fill"></i>
That’s how I have value. Here I need to click on "bi bi-arrow-right-square-fill"
. More precisely, I need to click on this value. When I get the xpath, I can’t click it.
I finally tried this
IWebElement elementa = driver.FindElement(By.CssSelector(".<bi bi-arrow-right-square-fill>"));
IJavaScriptExecutor executor1 = (IJavaScriptExecutor)driver;
executor1.ExecuteScript("arguments[0].click()", elementa);
New contributor
ismail baloglu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1