• How to Test Cross Browser Testing || ... ( handling multibrowser in parallel )
This statement will switch the focus to alert and return alert type
we can use
o alert.accept : to click on ok
o alert.dismis : to click on cancel
o alert.sendkeys : to send text in case it is asking an input
o alert.getText() : to get text from alert window
Watch video How to Handle the JavaScript Alerts in - Selenium WebDriver online without registration, duration hours minute second in high quality. This video was added by user Yaddalapudi SaiKrishna 29 October 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 69 once and liked it 5 people.