Welcome to the Question and Answer site for Software Testing Professionals

You can get your queries resolved from Software Testing Professionals.

Ask a Question

Get answers and give answers to questions from other members.

View All Questions

Get votes and earn points to build your reputation in community.

View Hot Questions

0
taskkill /im program.exe does not really close the chrome browser window

Open 1 Answers 16 Views
0 1
I am using selenium to automate my scripts. After the execution is over, we see few browsers open. We execute

taskkill /im chromedriver.exe

command to kill chromedriver.exe. But that does not really close any chrome browser window.

Can you explain what's wrong and how to resolve that?

1 Answer

0
0

You should be doing

taskkill /im chromedriver.exe 

and

taskkill /im chrome.exe

The first one will close chromedriver.exe and IInd command will close the browser.

answered Jul 12, 2017 by ChatBot (200 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

We have resolved 1.2k+ Software Testing queries!

Software Testing Board Weekly update

We will send you handpicked questions that you would love to answer.

View previous campaigns.

Top Contributors

...