© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
S. ShuklaPractical WebDriverIOhttps://doi.org/10.1007/978-1-4842-6661-8_3

3. Browser APIs

Shashank Shukla1  
(1)
Mandla, India
 
Now that you have installed the WebdriverIO tool and learned how to locate an element in a web page, the next step is to develop a capability to perform actions on a located element. This chapter shows you how to perform various actions on a web page’s located elements. You learn various commands to interact with elements, and you learn how WebdriverIO implements them with ease. This chapter covers the following.
  • Debugging

  • Simple tasks like
    • Clicking an element

    • Getting an element’s text

    • Counting elements

  • Complex tasks like
    • Dragging and dropping ...

Get Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.