require 'watir'
browser = Watir::Browser.new :chrome, url: "http://hub:4444/wd/hub"

browser.goto 'http://bulletin:8080'
title = browser.text_field css: 'input[class="form-control"][placeholder="Title"]'
title.set 'Party'
btn = browser.button value: 'Submit'
btn.click

puts browser.title
# => Bulletin Board
browser.quit
