$browser = Watir::IE.start("http://google.com")
$browser = Watir::IE.start "http://google.com"
Attach to an existing browser, raising an exception if it isn't found
$browser = Watir::IE.attach(:url, "http://www.google.com")
$browser = Watir::IE.attach(:title, "Google")
Attach to an existing browser, returning nil if it isn't found
$browser = Watir::IE.find(:title, "Google")
$browser = Watir::IE.find(:url, "http://www.google.com")
No comments:
Post a Comment