I have an issue with my automation (selenium-webdriver). Every time I click on a link, that link would open in a new tab ‒ this is not expected, and links do not have _blank attr. set to them. My automation fails cause it stays on the first tab.
- I've tried setting up a new automation env on a new PC - same result.
- I've tried releasing Ctrl key using :controlKeyUp - same result
This issue happened during bug-fixes merge from v1 to v2 of my product.
P.S. on a version with older code automation works fine with no issues.
P.P.S. This issue is not reproducible manually.
Update: this is the HTML code:
<a href="SignIn" id="aSignIn" class="signin-link desktop-show" title="Sign in">Sign in</a>
And this is the test code: