Handle WebElement using Protractor – Part2 – dropdown and alerts

In this post, we will come to know –

  • How to identify dropdown elements and different ways to select an option from the dropdown
  • Identify button using the display text
  • Handle alerts, get the alert text and verify the content and click on the ok button to accept the alert.

Watch demo here

Code implementation


Content posted is based on learning or working experience,
Share the post with others if find useful,
Any queries?, leave comments or discuss on our facebook:qavalidation.com, Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *