Selenium WebDriver Features

Blog Author


Published Date

9th October, 2020




  • Share this blog :


Selenium WebDriver and its Features

2we can work on all the latest versions like firefox 27,Id10,google chrome 17,safari 5 and opera 18.

2By using selenium RC all the  browser can be launch but it is having the version limitations [google chrome  22, selenium RC, safari 5]

2Not necessary to start the selenium server to run the web driver programs.

2It is lanched only one means it won’t launch the command history browser.

2Web driver directly maximizes the browser not necessary to use window maximize command.

2By default web, the driver maintains the page load synchronization. If it is a page refresh we need to handle it by using threa.sleep

2It is having the auto-scrolling documents option into the application while executing the script

2we can maintain both RC scripts & web driver scripts in a single package or process.

2we can maintain both the RC load & web driver load in a single class.

2we can take the data from the application very effectively by using a web driver for validation.

**How to launch a browser like a firefox, safari, opera, google chrome &it?

Public class all browsers {

Public webdriver driver;

Public void firefox(){

Driver =new firefox driver();



Public void safari(){

Driver = new safari driver();

Driver .get(;


Public void opera(){

Driver =new operadriver();



Public static void main(string[] args) {

All browsers a=new all browsers();





Interested in mastering  Selenium Training? Enroll now for FREE demo on Selenium Training.

2How to launch Google chrome browsers?

2To launch Google chrome, the chrome driver exe file should be available,we can download it from the below site

http://chrome driver

2click on 2.9 folders [latest version] and download chrome driver –

2After downloading the above file ,copy the chrome driver exe file and placed in lib folder.

Public void chrome(){

System.setproperty(“webdriver.chromedriver”,”E:webchrome driver. Exe”);

Driver= new chrome driver();

Driver .get(;


2How to launch IE browser

2To launch IE, the IE driver server should be available, we can download it from the below site

2Based on the system type(32/64 bit) download the window

2After downloading the file copy the same excel file and place it in the lib folder.

Public void IE(){

System.set property(“web”,”E:IE driver server.exe”);

Driver = new internet explorechrome();

Driver.get(“”)  ;


Public static void main(string [] args){

All browser a=new all browser();;


Check out the top Selenium Interview Questions now!

**write a program to register into the .doc by using a web driver.

Public class register-wd{

Public web driver driver;

Public void open url(){

Driver = new firefox driver();;


Public void register() throws exception{

Driver.find element(by.css selection(“input.registernow”)).click();

Driver.find element(”fname”)).sendkeys(“nagesh”);

New select (driver.find element (“day”))).select by visible tex((“10”);


Driver.find element(by.xpath(“(//input[enal=”ra dinner])[1]”)).click();


For an Indepth knowledge on Selenium, click on below

About Author


Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills .

Related Blogs

Write For Us