how open url with click on one div in Watin automation -


how open url click on 1 div in watin automation

i going url code

browser.goto(address); browser.waitforcomplete(); 

and click on div this

var main_tab1 = browser.div(find.bytext("main_tab")); main_tab1.click(); 

i want when browser going url div cliked

and no need click ... , automation faster

i not sure if have understood question right. asking whether need navigate page on click on div using browser.goto(address)? if so, try navigate directly address. capture url when u click on div , send goto method.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -