def hover(self, element):
        """
        In selenium, move cursor over an element
        :element: Object found using driver.find_...("element_class/id/etc")
        """
        javascript = """var evObj = document.createEvent('MouseEvents');
                        evObj.initMouseEvent(\"mouseover\", true, false, window, 0, 0, 0, 0, 0, \
                        false, false, false, false, 0, null);
                        arguments[0].dispatchEvent(evObj);"""

        if self.driver.selenium is not None:
            self.driver.selenium.execute_script(javascript, element)
In selenium, move cursor over an element
        :element: Object found using driver.find_...("element_class/id/etc")