Selenium Tutorial | WebDriver Browser And Navigation Commands

Published: 05 December 2018
on channel: 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...)


On this page of the site you can watch the video online Selenium Tutorial | WebDriver Browser And Navigation Commands with a duration of hours minute second in good quality, which was uploaded by the user Teach Yourself Test Automation 05 December 2018, share the link with friends and acquaintances, this video has already been watched 285 times on youtube and it was liked by 3 viewers. Enjoy your viewing!