def mouseClick(css:str): global driver actions = ActionChains(driver) el = waitElem(css) actions.move_to_element(el).click().perform()