I have this weird thing happening with my testcase, however rather than fixing it I would like to just “bypass” it for now. The following steps allow me to do that:
1) click back, to navigate browser back one page
2) refresh page
3) continue normally
however, at step two i get a confirmation modal box from firefox, asking if i want to resend the data, after clicking this, everything will run normally again.
This confirmation box breaks my code and I cant find a way to deal with it.
Is there any selenium webdriver api for this?
Cheers.
This is in ruby.
try using this –
@driver.switch_to.alert.acceptthis should hopefully click on Resend