Chrome based pop up

30 views
Skip to first unread message

Sony Sruthi

unread,
Jan 13, 2018, 10:13:04 PM1/13/18
to Selenium Users
Hello,

I am using Selenium version 3 and Chrome 62 versions.
Whenever I try to refresh a page I will be getting this pop-up which is shown in the attached picture. Can anyone of you help in automating this?
Thanks in advance. 
ChromePop Up.PNG

BlackFrost

unread,
Jan 14, 2018, 5:26:40 PM1/14/18
to Selenium Users
Hey,

You may want to look into alert and popup handling methods of Selenium:

driver.SwitchTo().Alert().Dismiss();

OR

driver.SwitchTo().Alert().Accept();


Reply all
Reply to author
Forward
0 new messages