What is the purpose of creating a reference variable- 'driver' of type webdriver instead of directly creating a firefoxdriver object or any other driver's reference in the statement webdriver driver = new firefoxdriver();?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Selenium Interview Questions

What are the different type of locators?

2 Answers   Genpact,


Explain how you can capture server side log selenium server?

0 Answers  


What are the advantages of selenium grid?

0 Answers  


What do you mean by the assertion in selenium?

0 Answers  


How can we handle window ui elements and window pop ups using selenium?

0 Answers  






What are the different methods to refresh a web page in webdriver?

0 Answers  


What are the annotations available in testng?

0 Answers  


How could ajax controls be handled in webdriver?

0 Answers  


What are some limitations of selenium?

0 Answers  


List some scenarios which we cannot automate using selenium webdriver?

0 Answers  


What are the different ways of locating a web element in selenium?

0 Answers  


How to enforce the title of the website?

0 Answers  


Categories