0 votes
1 view
in Devops and Agile by (28.1k points)

I need to click the 'Ok' button inside an alert window with a Selenium command. I've tried assertAlert or verifyAlert but they don't do what I want.

It's possible the click the 'Ok' button? If so, can someone provide me an example of the Selenium IDE command?

1 Answer

0 votes
by (48k points)

Refer to the below documentation:



This LOC in java will enable you to click ok button inside an alert in selenium ide

 If you are working with ruby then 


This will help you to resolve the problem.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !