How to start Chromedriver in verbose mode on Eclipse

0 votes
I just recently installed OS X 10.9 on my mac and ever since then Chromedriver is not working when I try to run tests.

The error says "Chrome was killed".

Most of them mentioned that it works fine when you set the Chromedriver to --verbose mode but I have no idea how to do that.

Any ideas on how this can be done?
Mar 20, 2019 in Selenium by Surya
• 970 points
343 views

1 answer to this question.

+1 vote

Hi friend, here is a script that helps in creating the executable you'll need. So, change the directory (cd) to the directory where the chromedriver is present and then paste this to your console:

cat <<EOF>chromedriververbose
echo "running chromedriver --verbose \$*"
\$(dirname \$0)/chromedriver --verbose \$*
EOF

chmod +x chromedriververbose

That'll create an executable script called chromedriververbose where you can point your tests rather than just chromedriver.

Alternatively, you can rename chromedriver to chromedriversilent and then call the above script chromedriver and point it to chromedriversilent for drop-in replacement.

Hope this helps :)

answered Mar 20, 2019 by Vaishnavi
• 1,180 points

Related Questions In Selenium

0 votes
1 answer

How to start headless chrome in incognito mode?

You are missing a single -... "--incognito" READ MORE

answered Aug 13, 2018 in Selenium by Samarpit
• 5,890 points
966 views
0 votes
0 answers

How to configure ChromeDriver to initiate the browser in the Headless mode using Selenium?

I'm currently working on a Python script ...READ MORE

Apr 2, 2019 in Selenium by Surya
• 970 points
634 views
0 votes
1 answer

How should I configure the chromedriver.exe in eclipse

Use the page factory pattern, working example: public ...READ MORE

answered Mar 27, 2018 in Selenium by Atul
• 5,540 points
11,983 views
0 votes
1 answer
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,520 points
4,028 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31 in Selenium by Sri
• 2,970 points
4,977 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,890 points
2,918 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2 in Selenium by Sri
• 2,970 points
3,350 views
0 votes
1 answer

How to auto-refresh the ChromeDriver using Selenium Webdriver?

You can use this command. Also, refresh ...READ MORE

answered May 10, 2019 in Selenium by Vaishnavi
• 1,180 points

edited May 10, 2019 by Omkar 6,043 views
0 votes
1 answer