I am trying to find the element Data Access.
The HTML code behind this is:
<ul class="tabs left">
<li id="tabPersonalInformation" class="current first">
<li id="tabSystemAccess">
<li id="tabDataAccess">
<a href="#dataAccess">Data Access</a>
</li>
The C# code that I am using is:
Thread.Sleep(1000);
var wait = new WebDriverWait(Driver.Instance, TimeSpan.FromSeconds(20));
var DataAccess = wait.Until(ExpectedConditions.ElementIsVisible(By.LinkText("Data Access")));
DataAccess.Click();
It is unable to find the field DataAccess. The exception that I am getting is:
An exception of type 'System.InvalidOperationException' occurred in WebDriver.dll but was not handled in user code Additional information: unknown error: Element is not >clickable at point (543, 15). Other element would >receive the click: ...
Can someone please help?