I have an element in my WebPage and this element has no "href" in its HTML code, but the element is clickable and drives to another page, so what I want to do is to open the page in a new window or tab. When I use the key_down(Keys.CONTROL).click(element).key_up(Key.CONTROL).perform()
this just opens the new page in the same window (btw even manually performed, this is same). So even right-click (context menu) doesn't contain the open in new Tab/Window. Is there any possible way to get the URL to where this element drives so that I can open a new window and paste it there, or just open the new page in a new window or tab?
Here is the css code of the Element:
<tr class="ng-scope element-active" ng-if="$data.length" ng-click="$ctrl.open(element)" ng-repeat="element in $data" ng-class="[{ disabled: element.elementStatus == '2' }, 'element-' + element.status.toLowerCase()]">