making the web driver check against page title poll