Selenium WebDriver 3 Practical Guide: End-To-end Automation Testing for Web and Mobile Browsers with Selenium WebDriver
Book information
Description
Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Introducing WebDriver and WebElements; Selenium Testing Tools; Selenium WebDriver ; Selenium Server; Selenium IDE; Differences between Selenium 2 and Selenium 3 ; Handling the browser ; Having better APIs; Having developer support and advanced functionalities; Testing Mobile Apps with Appium; Setting up a project in Eclipse with Maven and TestNG using Java; WebElements; Locating WebElements using WebDriver ; The findElement method; The findElements method.;Selenium WebDriver 3 is the latest version used by many professionals for automated testing. The book will guide you through various Selenium WebDriver APIs and provide solutions to the common challenges faced while using Selenium WebDriver. You will learn to use remote WebDriver to run tests on remote machines for cross-browser testing and ... Cover Title Page Copyright and Credits Packt Upsell Contributors Table of Contents Preface Chapter 1: Introducing WebDriver and WebElements Selenium Testing Tools Selenium WebDriver Selenium Server Selenium IDE Differences between Selenium 2 and Selenium 3 Handling the browser Having better APIs Having developer support and advanced functionalities Testing Mobile Apps with Appium Setting up a project in Eclipse with Maven and TestNG using Java WebElements Locating WebElements using WebDriver The findElement method The findElements method. Inspecting Elements with Developer ToolsInspecting pages and elements with Mozilla Firefox Inspecting pages and elements in Google Chrome with Developer Tools Using the By locating mechanism The By.id() method The By.name() method The By.className() method The By.linkText() method The By.partialLinkText() method The By.tagName() method The By.xpath() method The By.cssSelector() method Interacting with WebElements Getting element properties and attributes The getAttribute() method The getText() method The getCssValue() method The getLocation() method The getSize() method. The getTagName() methodPerforming actions on WebElements The sendKeys() method The clear() method The submit() method Checking the WebElement state The isDisplayed() method The isEnabled() method The isSelected() method Summary Questions Further information Chapter 2: Different Available WebDrivers Firefox Driver Using GeckoDriver Using Headless Mode Understanding the Firefox profile Adding the extension to Firefox Storing and retrieving a profile Dealing with Firefox preferences Setting preferences Understanding frozen preferences Chrome Driver Using Headless Mode. Using Mobile Emulation for testing mobile web applicationsAdding ChromeExtensions InternetExplorerDriver Writing your first test script for the IE browser Understanding IEDriver capabilities Edge Driver Writing your first test script for the Edge browser Safari Driver Writing your first test script for the Safari browser Summary Questions Further information Chapter 3: Using Java 8 Features with Selenium Introducing Java 8 Stream API Stream.filter() Stream.sort() Stream.map() Stream.collect() Stream.min() and Stream.max() Stream.count(). Using Stream API with Selenium WebDriverFiltering and counting WebElements Filtering element attributes Using the Map function to get the text value from elements Filtering and performing actions on WebElements Summary Questions Further information Chapter 4: Exploring the Features of WebDriver Taking screenshots Locating target windows and Frames Switching among windows Switching between frames Handling alerts Exploring Navigate Waiting for WebElements to load Implicit wait time Explicit wait time Handling cookies Summary Questions Further information.
Similar books
Writing High-Performance .NET Code
2014 · EPUB
LPIC-1: Linux Professional Institute Certification Study Guide: (Exams 101 and 102)
2013 · PDF
ICloud for developers: automatically sync your iOS data, everywhere, all the time
2013 · PDF
Beginning iOS 5 Application Development
EPUB
Learn CentOS Linux Network Services
2017 · EPUB
Learn CentOS Linux Network Services
2017 · PDF
React native for iOS development: harness the power of React and JavaScript to build stunning iOS applications
2016 · EPUB
Mastering Embedded Linux Programming
2015 · EPUB