'PhantomJS does not support the click fully, specially on anchor tags so we use the hack script from
`hacks_for_phantomjs()` method above.
REF: http://stackoverflow.com/questions/13536752/phantomjs-click-a-link-on-a-page?rq=1'

def browser_click(self, selector):

    browser = self.browser
    if self.is_phantomjs:
        hacks_for_phantomjs(browser)
        js = ("\n                                                                var    el    =    $('%s')[0];\n                                                                window.simulateClick(el);\n                                                " % selector)
        browser.execute_script(('%s' % js))
    else:
        elem = browser.find_element_by_css_selector(selector)
        elem.click()
