selenium - Alert handling fails in latest IE version -
os: windows 10 enterprise
selenium version: 3.3.1
browser: internet explorer 11
browser version: 11.953.14393.0
i running same test script last 3 months. last week started failing in verifying alert text. 1 difference find if same alert displayed within short time span there warning checkbox. warning message don't let page create more messages.
alert alert = driver.switchto().alert(); alerttext = alert.gettext();
alert.gettext()
should return text.
is there way disable warning message in ie11 ? if not how can handle in selenium webdriver.?
here link handle alerts in selenium.
to point specific piece of code, take @ lines 41 53 in code of article.
hope helps.
Comments
Post a Comment