Skip to Main Content
Selenium WebDriver 3 Practical Guide - Second Edition
book

Selenium WebDriver 3 Practical Guide - Second Edition

by Pallavi Sharma, UNMESH GUNDECHA, Satya Avasarala
July 2018
Intermediate to advanced content levelIntermediate to advanced
280 pages
7h 27m
English
Packt Publishing
Content preview from Selenium WebDriver 3 Practical Guide - Second Edition

Understanding the build and perform actions

We know how to perform some basic actions, such as clicking on a button and typing text into a textbox; however, there are many scenarios where we have to perform multiple actions at the same time, for example, keeping the Shift button pressed and typing text for uppercase letters, and the dragging and dropping mouse actions.

Let's see a simple scenario here. Open the http://guidebook.seleniumacademy.com/Selectable.html. A box of tiles numbered 1 to 12 will appear, as seen in this screenshot:

If you inspect the elements with browser developer tools, you will see an ordered list tag:

<ol id="selectable" ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Selenium WebDriver 3.0 - Second Edition

Mastering Selenium WebDriver 3.0 - Second Edition

Mark Collin
Selenium Essentials

Selenium Essentials

Prashanth Sams
Learn Selenium

Learn Selenium

Unmesh Gundecha, Carl Cocchiaro

Publisher Resources

ISBN: 9781788999762Supplemental Content