How to handle the Leave/Stay browser dialog in selenium webdriver -


enter image description here

i not able handle browser dialog in selenium c# code. switchto().alert doesn't work dialog. there way can handle such dialogs?

read this

or

you can try keyboard event well

public event keypresseventhandler keypress 

Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -