Method: Watir::Browser.start
- Defined in:
- lib/watir/browser.rb
.start(url, browser = :chrome, *args) ⇒ Watir::Browser
Creates a Watir::Browser instance and goes to URL.
32 33 34 |
# File 'lib/watir/browser.rb', line 32 def start(url, browser = :chrome, *args) new(browser, *args).tap { |b| b.goto url } end |