How to send ESC key to close pop up window using Python and Selenium?

前端 未结 3 1195
南旧
南旧 2020-12-30 03:01

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         


        
3条回答
提交回复
热议问题