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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -