dr.get(baseurl)
dr.find_element_by_xpath(
    '/html/body/div/center/table/tbody/tr[7]/td/div/table/tbody/tr/td[2]/div[1]/form/table/tbody/tr[4]/td[1]/a'
    ).click()
Selenium open pop up window [Python]