Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which of the following is the correct ‘Webdriver’ command to “delete all cookies in the browser”?
Home
Selenium
Which of the following is the correct ‘Webdriver’ command to “delete all cookies in the...
0
votes
asked
Jan 30, 2020
in
Selenium
by
Deepanshu Burreja
Which of the following is the correct ‘Webdriver’ command to “delete all cookies in the browser”?
a) Driver.deleteAllCookies()
b) Driver.manage().deleteCookies()
c) Driver.manage().deleteAllCookies()
d) Driver.deleteCookies()
#selenium
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 31, 2020
by
SakshiSharma
Driver.manage().deleteAllCookies()
Related questions
0
votes
Q: Which of the following is the correct option to close all the opened browser sessions at one step?
asked
Jan 30, 2020
in
Selenium
by
Deepanshu Burreja
#selenium
0
votes
Q: In webdriver, which command takes you forward by one page on the browser’s history?
asked
Jan 30, 2020
in
Selenium
by
Deepanshu Burreja
#selenium
0
votes
Q: In webdriver, selectAllOptions() is a valid command. a) True b) False
asked
Jan 30, 2020
in
Selenium
by
Deepanshu Burreja
#selenium
0
votes
Q: Which command should be used to ensure Selenium applies wait time for all UI elements in the script?
asked
Jan 30, 2020
in
Selenium
by
Deepanshu Burreja
#selenium
0
votes
Q: In webdriver, which of the following commands retrieves the text of html element?
asked
Jan 30, 2020
in
Selenium
by
Deepanshu Burreja
#selenium
0
votes
Q: In webdriver, which of the following is a valid select statement that selects a value from a dropdown element?
asked
Jan 30, 2020
in
Selenium
by
Deepanshu Burreja
#selenium
0
votes
Q: 3. In webdriver, which methods navigates to a URL? a) goToUrl("url") b) navigate.to("url") c) getUrl("url") d) get("url")
asked
Jan 30, 2020
in
Selenium
by
Deepanshu Burreja
#selenium
0
votes
Q: How to set browser window size in Selenium?
asked
Mar 31, 2021
in
Selenium
by
sharadyadav1986
#selenium
browser-window-size
window-size
0
votes
Q: How to select a value from a dropdown in Selenium WebDriver?
asked
Mar 30, 2021
in
Selenium
by
sharadyadav1986
#selenium
webdriver
dropdown-selenium
0
votes
Q: 2. __________ is an Advantage of Selenium WebDriver? a) Supports Web based Applications only b) No built-in Result Reporting facility c) Open Source d) No IDE
asked
Jan 30, 2020
in
Selenium
by
Deepanshu Burreja
#selenium
...