I have this line of code.
driver.FindElement(By.Id("BCA-button")).Click();
This was working fine at 'home'.
I am using these libraries in C# Unit Test project.
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.IE;
The same code stopped working in 'office' and gives this error.
OpenQA.Selenium.WebDriverException: 'Cannot click on element'
The only difference between my 'home' and 'office' environments are, I have bigger monitors in office and high speed internet.
Not sure, why these factors should affect this line of code. Same code was working yesterday in 'home' and it throws error in 'office' today.
Any thoughts ?
Here is another try.