Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Selenium Essentials

You're reading from   Selenium Essentials Get to grips with automated web testing with the amazing power of Selenium WebDriver

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781784394332
Length 194 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Prashanth Sams Prashanth Sams
Author Profile Icon Prashanth Sams
Prashanth Sams
Arrow right icon
View More author details
Toc

Chapter 3. Selenium WebDriver Functions

Selenium WebDriver API provides an object-oriented approach to test web-based applications. On the one hand, Selenium RC (Remote Control) injects JavaScript into the browser on runtime, and on the other hand, Selenium WebDriver performs direct calls to the browser using each browser's native approach. Meanwhile, WebDriverBackedSelenium lets you combine both Selenium RC and WebDriver. Hopefully, Selenium RC will be deprecated and taken away in Selenium 3.0, which includes the Marionette driver replacing the Firefox driver to automate Firefox OS in mobile platforms. WebDriver API enriched Selenium RC is called Selenium WebDriver or Selenium 2.0. In the future, Selenium will meet all the W3C standards; however, the current Selenium WebDriver API encloses a bunch of functions used for effective web automation tests.

In this chapter, we will learn about the following topics:

  • Basic Selenium WebDriver functions
  • Locating WebElements
  • WebElement...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime