Automatic Operation of Browser using Selenium and Node.js (English Edition)
Price: EUR 3,26
(as of Mar 10,2020 06:22:45 UTC – Details)
One of test automation tools is Selenium. It is widely used around the world as a tool for automating test for web application. In this book we use Selenium WebDriver to perform automatic operation of the browser. As for browser we use both Mozilla Firefox and Google Chrome.
Selenium is a very useful tool but it is not an easy tool which lets us use it as soon as we learn it. Practice is necessary but it is not desirable to use the real website running in the internet for practice.
Therefore, in this book we will prepare two sites, demo site and WordPress site for Selenium practice. Those sites are constructed on virtual machine on Windows PC and we perform automatic operation using Selenium WebDriver for those sites. Those are our own environment so we can practice Selenium as much as we want.
[Who this book is for]
This book is for those who are experienced in programming Node.js and are interested in automated testing of web application.
Since this book uses Linux (Ubuntu) as a working environment, if you don’t have Linux development experience, it would be better for you to read this book after understanding Basic Linux Commands.
[Structure of this book]
In Chapter1, we learn the knowledge necessary for automatic operation of the browser.
In Chapter2, we prepare the environment for automatic operation of the browser.
In Chapter3, we perform automatic operation of demo site as a basic practice of automatic operation using Selenium WebDriver.
In Chapter4, we perform automatic operation of the site constructed by WordPress as an advanced practice of automatic operation using Selenium WebDriver.
In Chapter5, we perform automated testing of web application using Selenium WebDriver and Test Framework.
In Chapter6, I mention some notes on using Selenium WebDriver based on my experience of Selenium.
Ubuntu is running on the virtual machine in Windows machine. WordPress is built on Ubuntu and we use Selenium WebDriver to operate WordPress automatically.
■Version of softwares used in this book
Ubuntu 16.04.4 LTS
(Installation using ubuntu-16.04.4-desktop-amd64.iso)
Mozilla Firefox 59.0.1 (Ubuntu undate is necessary)
Mozilla GeckoDriver 0.20.0
Google Chrome 65.0.3325.181
Google Chrome Driver 2.36
Selenium Client 4.0.0-alpha.1
[Table of contents]
Who this book is for
Structure of this book
Chapter 1 Knowledge necessary for Selenium WebDriver
Chapter 2 Prepare automatic operation environment
Chapter 3 Basic practice of automatic operation
Chapter 4 Advanced practice of automatic operation
Chapter 5 Automated testing with Test Framework
Chapter 6 Some notes on the use of Selenium WebDriver
Appendix A: About VirtualBox
Appendix B: About Ubuntu