difference between Close() and Quit()?

Answer Posted / raghu varma penmetsa

if we write driver.close() it will close the current application
if we write driver.quit() it will close current application along with surrounding applications

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object repository? How can we create object repository in selenium?

550


How can we deal with web-based pop-up?

604


What are the regular expression patterns available in selenium?

572


Firefox driver is class or an interface and from where is it inherited?

524


Which browsers can selenium ide be run in?

612






@timeouts ||= Timeouts.new(@bridge) what does it mean?

1491


Which is the super interface of webdriver?

629


How can we handle pop-ups in rc?

597


Using web driver how you can store a value which is text box?

532


How to retrieve css properties of an element?

558


How to scroll down a page using javascript in selenium?

555


How can the user get a text from a web element?

628


What is the framework?

562


Tell me how to verify tooltip text using selenium?

530


Where to obtain selenium ?

590