Selenium Tutorial | WebDriver Browser And Navigation Commands

Publié le: 05 décembre 2018
sur la chaîne: Teach Yourself Test Automation
285
3

Selenium Tutorial | WebDriver Browser And Navigation Commands http://teachyourselftestautomation.com

Hello and welcome again to another day on teaching yourself selenium webdriver with java

Day 6 - Selenium WebDriver Browser and Navigation Commands

After making driver as an object (See Day 5 video or blog page) and connecting it to webdriver methods to access these webdriver methods all you have to do is - in eclipse just type driver(dot) and you will get all webdriver methods displayed in a list format

Down that list we are going to be looking at browser and navigation commands

There six main browser commands which are
get (this will return any string as your parameter)
getTitle (this will get the active web page title)
getcurrent URL (this will get the active web page URL)
Get page source (this will get the active web page page source)
Close (this will close the active web page which was launched by selenium)
Quit (this will close ALL web page which was launched by selenium)

There are three main navigation commands
forward (this will do the same as using browser foward arrow)
back (this will do the same as using browser backward arrow)
refresh (this will do the same action as reloading web page)

Selenium Tutorial | WebDriver Browser And Navigation Commands
http://teachyourselftestautomation.com
--------------------------------------------------------------------------------------------------------
#testautomation #teachyourselftestautomation #selenium #webdriver #java
--------------------------------------------------------------------------------------------------------
Follow me @
Facebook:   / kevin.itoe.50  
Google+: https://plus.google.com/u/0/103559195...
Pinterest: https://www.pinterest.co.uk/owasuik/
My Blog: http://teachyourselftestautomation.com/
My YouTube Channel:    / @teachyourselftestautomatio1271  
--------------------------------------------------------------------------------------------------------
My Videos:
   • Install And Configure Java | Selenium Webd...  
   • Eclipse Installation | eclipse software | ...  
   • Java Project Template | Java Projects | My...  
   • Download And Configure Selenium | Selenium...  
   • Basic Selenium Test Script To Invoke Web B...  
   • Selenium Tutorial | WebDriver Browser And ...  
-------------------------------------------------------------------------------------------------------
What Wikipedia says about selenium: https://en.wikipedia.org/wiki/Seleniu...)


Sur cette page du site, vous pouvez voir la vidéo en ligne Selenium Tutorial | WebDriver Browser And Navigation Commands durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Teach Yourself Test Automation 05 décembre 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 285 fois et il a aimé 3 téléspectateurs. Bon visionnage!