selenium - Selenuim+Python get the URL of a clickable element that doesn't have href -
i have element in webpage , element has no "href" in html code, element clickable , drives page, want open page in new window or tab. when use key_down(keys.control).click(element).key_up(key.control).perform()
this opens new page in same window (btw manually performed, same). right click (context menu) doesn't contain open in new tab/window. there possible way url element drives can open new window , paste there, or open new page in new window or tab?
here css code of 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()]">
Comments
Post a Comment