Using Django and LiveServerTest, I am testing this URL:
#template.py
<div id = "id_delete"><a href="/{{ file.pk }}/delete/" onclick="return
confirm('Are you sure ?')">delete</a></div>
#tests.py
self.selenium.find_element_by_xpath('//*[@id="id_delete"]/a').click()
and I want Selenium to pause to let me click on "cancel" when JavaScript asks 'Are you sure ?' and go on with the following tests.
How can I do that?