Selenium WebDriver 3 Practical Guide : End-To-end Automation Testing for Web and Mobile Browsers with Selenium WebDriver, 2nd Edition.
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 rem...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing Ltd,
2018.
|
Edición: | 2nd ed. |
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- 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.