Difference Between Close And Quit In Selenium WebDriver | Selenium Interview Question

Опубликовано: 16 Сентябрь 2024
на канале: Mukesh otwani
544
30

In this video, we will discuss 2 major difference in Selenium for close() and quit() method.

close method will close active current window/tab
quit method will close all associated windows

close will maintain the sessionid
quit will assign null in the sessionid field

Checkout our free and paid courses


Connect with us:
Email - mukeshotwani
Linkedin-
Instagram-
Facebook Group-