java - How to use selenium webdriver on local (on my pc) webpage instead of locate somwhere on www? -


i have use selenium webdriver on webpage have on hard disc. i've tried like:

selenium = new webdriverbackedselenium(driver, "c:\\...dispatcher.html"); 

instead of normal:

selenium = new webdriverbackedselenium(driver, "http://www.dunnowhattodo.org"); 

but don't work (i error "unknown protocol: c")

is possible? im kinda new user of selenium webdriver can silly question, still appriciate every get:)

try using method:

webdriver.get("file:///d:/folder/abcd.html"); 

(or)

selenium = new webdriverbackedselenium(driver, "file:///d:/folder/abcd.html"); 

Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -