A list of your recent invoices.
Sr No.Book NameBook GenreBook AuthorBook ISBNBook Published
1They all returned.QuoKartik Datta97988468905651979-01-18
2Alice, thinking it.IpsaKalyan Dave97977430862552020-09-14
3The soldiers were.QuiFalguni Thakkar97851691947082013-05-06
4How brave they'll.ExplicaboJatin Agarwal97961225438842002-04-06
5I should say what.NisiKirti Chia97898501023242012-12-29
6RED rose-tree, and.EtKabeer Sama97897874043621996-10-18
7I did: there's no.ImpeditMayawati Gopal97966179505311990-04-01
8Hatter, 'when the.SuntTanuja Sridhar97912234904882002-11-06
9It quite makes my.HicJamshed Sachdev97972174315432000-05-18
10Down, down, down.VelitDeepesh Mathai97889720094671970-07-11

Insight

On completion of this exercise, you can learn the following concepts:

  1. accept()
  2. dismiss()
  3. waits()
  4. sendKeys()
  5. switchTo()
  6. getText()

Introduction

There are 3 types of alert such as - Simple alert, Prompt alert, and confitmation alert. To automate the alert selenium provoide switchTo() method which changes focus of selenium webdriver to alert.

To handle them we are having different methods in selenium such as -

  1. accept,
  2. dismiss,
  3. sendKeys,
  4. getText,
  5. wait.
  6. switchTo

📄 Also Read: Top 10 Best Automation Practice Website