This page asks you to confirm that you want to leave.

I run tests to install my site. When starting the tests, the following errors occur. I switched to using firefox because I had problems with the new chronograph 2.10. Can I get around this?

Error message:

Modal dialog present: This page is asking you to confirm that you want to leave - data you have entered may not be saved.

Build info: version: '2.39.0', revision: 'ff23eac', time: '2013-12-16 16:11:15'
System info: host: 'jesus-ProLiant-MicroServer', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-32-generic', java.version: '1.6.0_32'

Session ID: 2d072ef8-60e8-494b-b389-96e954041fb0
Driver info: org.openqa.selenium.firefox.FirefoxDriver

Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, browserName=firefox, rotatable=false, locationContextEnabled=true, version=31.0, cssSelectorsEnabled=true, databaseEnabled=true, handlesAlerts=true, nativeEvents=false, webStorageEnabled=true, applicationCacheEnabled=true, takesScreenshot=true}]
+4
source share
2 answers

() . Behat/Mink , . github, , :

UX ( , , ), .

, Selenium Driver, gist - , . , " " Behat.

$this->getSession()->getDriver()->getWebDriverSession()->accept_alert(); // Ok
$this->getSession()->getDriver()->getWebDriverSession()->dismiss_alert(); // Dismiss
+6

firefox, 2.10. ?

Behat/Mink/Selenium chromedriver 2.10, chromedriver 2.17 .

[http://chromedriver.storage.googleapis.com/2.17/chromedriver_linux64.zip][1]

+1

All Articles