How to handle dynamic overlay using webdriver -
while executing selenium script, getting overlay (like popup) asking confirm yes or no. in case main problem being overlay popup not come @ constant place,instead comes @ differen places. example :- consider have 4 pages navigate time comes in first page , times comes in second page, , comes in same page while accessing different elements.sometimes not getting overlay.
please let me know how solve issue, in advance
you can handle through driver options, @ least in internet explorer. how in selenium
.net binding
var options = new internetexploreroptions { enablenativeevents = false }; options.unexpectedalertbehavior = internetexplorerunexpectedalertbehavior.dismiss;
it force close unexpected pop up.
Comments
Post a Comment