c# - selenium webdriver click javascript link -
i using selenium-webdriver c# test website. have issue when utilize click()
click link, doesn't work. should open new window when clicked. tool in html structure, found there javascript action on link.
the html following:
<span class="new_doc"> <a style="cursor: pointer;" onclick="javascript:popwinnewproject('pc.aspx?page=docnew2tree&j=p2&grp=actv&t=');"> <img title="new doc" src="http://local:8080/res/icon/new-doc.png"/>
what method should utilize click open new window?
c# javascript selenium
No comments:
Post a Comment