selenium webdriver - Can not accept javascript alert after latest google chrome updates -
i use webdriver ui tests. after latest google chrome updates 44.0.2403.107 have problems accepting alerts: use driver.switchto().alert().accept();
when confirm javascript alert, exception: no alert open. looks alert opens later try accept it. else have same problem after latest google chrome updates?
i use latest version chromedriver - 2.16.
did tried include wait alert shown below:
new webdriverwait(driver,60).until(expectedconditions.alertispresent()); driver.switchto().alert().accept();
if still facing issue please raise issue @ below url sample test code , html file included: https://code.google.com/p/chromedriver/issues/list
Comments
Post a Comment