As mentioned, is there a way to send global ESC
key to close popup(CSS MODAL Window)? I tried following but did not work:
driver.find_element_by_tag_name('body').send_keys(Keys.ESCAPE)
I know I can use xPath etc but issue is the site has dynamic elementIds and classnames.