def click_and_drag(locator, x_from, y_from, x_to, y_to):
    element = driver.find_element_by_css_selector(locator)
actions.move_to_element(element)
Using (Python) Webdriver to select text without using an element (i.e. click and drag to highlight from one set of coordinates to another set)