Discussion:
[selenium-users] How do I fix this error?
Ade
2015-06-23 18:09:59 UTC
Permalink
I am trying to unzip chrome-driver file to get the extracted .exe format so
I can use it to set system property in in my selenium web-driver Java
program but I get the message: "Starting chrome-driver on port 9515. Only
local connections allowed" How do I fix this error and extract the
chrome-driver zip file? Has anyone ever experienced this? Thanks
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/14334ca2-2fb9-4b75-baaf-cd09d8896a3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Krishnan Mahadevan
2015-06-24 07:22:10 UTC
Permalink
That is not an error. That is all you would see when you spawn the
chromedriver binary.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening
or in love with someone else!"
Post by Ade
I am trying to unzip chrome-driver file to get the extracted .exe format
so I can use it to set system property in in my selenium web-driver Java
program but I get the message: "Starting chrome-driver on port 9515. Only
local connections allowed" How do I fix this error and extract the
chrome-driver zip file? Has anyone ever experienced this? Thanks
--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/14334ca2-2fb9-4b75-baaf-cd09d8896a3f%40googlegroups.com
<https://groups.google.com/d/msgid/selenium-users/14334ca2-2fb9-4b75-baaf-cd09d8896a3f%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmpucoE_cmAXMiGUXGHr-C8xG2Ypn4rSi6n09aFaZwX6Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Ade
2015-06-24 14:09:16 UTC
Permalink
Thanks Krishnan so how do i unzip the file to get the .exe? It just came up with the cmd prompt displaying whai assumed was an error message, with the extraction not progressing.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/ca485676-3006-435f-af3b-9d71bdda64b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Krishnan Mahadevan
2015-06-24 14:50:21 UTC
Permalink
Can you please help elaborate a bit on what are you trying to accomplish
and show us the code that you are using as well ?

I didnt quite understand what you were trying to solve.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening
or in love with someone else!"
Post by Ade
Thanks Krishnan so how do i unzip the file to get the .exe? It just came
up with the cmd prompt displaying whai assumed was an error message, with
the extraction not progressing.
--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/ca485676-3006-435f-af3b-9d71bdda64b3%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmry2MLnLuyerBFtqbOYttpR%2BG5Jch7mpOrT6gdyRhu0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Ade
2015-06-26 03:46:32 UTC
Permalink
OK. To run a test with chrome on eclipse with Java, one needs to download
the chrome-driver, extract or unzip it to a location and copy the path into
a System.setProperty string. After the download, I clicked on the zipped
file to extract it but It brings up the cmd interface with the message: "Starting
chrome-driver 2.16.333243 on port 9515. Only local connections allowed".
As a result of this message, the extraction could not progress.

To run the script, If I add \\chromedriver.exe manually to the path, it
works but why is the extraction now working? What have I done wrong?

Similar case happened when I tried extracting InternetExplorerDriver. It
brings up the cmd interface with the message: " Started InternetExplorerDrive
(32 bit). Listening on port 5555". I have no idea how to extract both
driver files

Thanks



Exception in thread "main" java.lang.IllegalStateException: *The driver
executable is a directory: C:\chromedriver_win32*
at com.google.common.base.Preconditions.checkState(Preconditions.java:197)
at
org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:123)
at
org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:116)
at
org.openqa.selenium.chrome.ChromeDriverService.access$0(ChromeDriverService.java:1)
at
org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:137)
at
org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:290)
at
org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:88)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:116)
at mypackage.myclass.main(myclass.java:14)
Post by Krishnan Mahadevan
Can you please help elaborate a bit on what are you trying to accomplish
and show us the code that you are using as well ?
I didnt quite understand what you were trying to solve.
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening
or in love with someone else!"
Post by Ade
Thanks Krishnan so how do i unzip the file to get the .exe? It just came
up with the cmd prompt displaying whai assumed was an error message, with
the extraction not progressing.
--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/ca485676-3006-435f-af3b-9d71bdda64b3%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/afef01d7-e438-4719-8e46-029aa54fbb2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Krishnan Mahadevan
2015-06-26 04:08:08 UTC
Permalink
So if I understand you correctly, you are extracting the zip file manually
correct ?
If thats the case, then I think you can take a look at the utility
documentation (Winzip, WinRar) to check how to just extract a zip file and
instead not invoke anything.

If I have again misunderstood what your problem is, please feel free to add
any more additional information such as a screenshot of what you did.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening
or in love with someone else!"
Post by Ade
OK. To run a test with chrome on eclipse with Java, one needs to download
the chrome-driver, extract or unzip it to a location and copy the path into
a System.setProperty string. After the download, I clicked on the zipped
file to extract it but It brings up the cmd interface with the message: "Starting
chrome-driver 2.16.333243 on port 9515. Only local connections allowed".
As a result of this message, the extraction could not progress.
To run the script, If I add \\chromedriver.exe manually to the path, it
works but why is the extraction now working? What have I done wrong?
Similar case happened when I tried extracting InternetExplorerDriver. It
brings up the cmd interface with the message: " Started InternetExplorerDrive
(32 bit). Listening on port 5555". I have no idea how to extract both
driver files
Thanks
Exception in thread "main" java.lang.IllegalStateException: *The driver
executable is a directory: C:\chromedriver_win32*
at com.google.common.base.Preconditions.checkState(Preconditions.java:197)
at
org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:123)
at
org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:116)
at
org.openqa.selenium.chrome.ChromeDriverService.access$0(ChromeDriverService.java:1)
at
org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:137)
at
org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:290)
at
org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:88)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:116)
at mypackage.myclass.main(myclass.java:14)
Post by Krishnan Mahadevan
Can you please help elaborate a bit on what are you trying to accomplish
and show us the code that you are using as well ?
I didnt quite understand what you were trying to solve.
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive,
fattening or in love with someone else!"
Post by Ade
Thanks Krishnan so how do i unzip the file to get the .exe? It just came
up with the cmd prompt displaying whai assumed was an error message, with
the extraction not progressing.
--
You received this message because you are subscribed to the Google
Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/ca485676-3006-435f-af3b-9d71bdda64b3%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/afef01d7-e438-4719-8e46-029aa54fbb2c%40googlegroups.com
<https://groups.google.com/d/msgid/selenium-users/afef01d7-e438-4719-8e46-029aa54fbb2c%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmd%2Bj2b6zwEbSMraMXO9a_3W%3DV-R9zK%2B-8kAGXYun4iVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Shawn McCarthy
2015-06-26 04:20:22 UTC
Permalink
It sounds like you are not extracting the file correctly. Maybe it is
already extracted?
Post by Ade
OK. To run a test with chrome on eclipse with Java, one needs to download
the chrome-driver, extract or unzip it to a location and copy the path into
a System.setProperty string. After the download, I clicked on the zipped
file to extract it but It brings up the cmd interface with the message: "Starting
chrome-driver 2.16.333243 on port 9515. Only local connections allowed".
As a result of this message, the extraction could not progress.
To run the script, If I add \\chromedriver.exe manually to the path, it
works but why is the extraction now working? What have I done wrong?
Similar case happened when I tried extracting InternetExplorerDriver. It
brings up the cmd interface with the message: " Started InternetExplorerDrive
(32 bit). Listening on port 5555". I have no idea how to extract both
driver files
Thanks
Exception in thread "main" java.lang.IllegalStateException: *The driver
executable is a directory: C:\chromedriver_win32*
at com.google.common.base.Preconditions.checkState(Preconditions.java:197)
at
org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:123)
at
org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:116)
at
org.openqa.selenium.chrome.ChromeDriverService.access$0(ChromeDriverService.java:1)
at
org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:137)
at
org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:290)
at
org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:88)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:116)
at mypackage.myclass.main(myclass.java:14)
Post by Krishnan Mahadevan
Can you please help elaborate a bit on what are you trying to accomplish
and show us the code that you are using as well ?
I didnt quite understand what you were trying to solve.
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive,
fattening or in love with someone else!"
Post by Ade
Thanks Krishnan so how do i unzip the file to get the .exe? It just came
up with the cmd prompt displaying whai assumed was an error message, with
the extraction not progressing.
--
You received this message because you are subscribed to the Google
Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/ca485676-3006-435f-af3b-9d71bdda64b3%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/67efdb33-3b12-46d4-a084-b00dc5177a4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ade
2015-06-26 07:23:57 UTC
Permalink
Shawn, if the file is already extracted, the file path should show as .exe and not as a zip file
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/0224c0e5-cf52-46ba-83c0-1eb759864d35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Shawn McCarthy
2015-06-26 14:27:17 UTC
Permalink
Than you are doing something wrong when extracting it. What tool are you
using to extract it?
Post by Ade
Shawn, if the file is already extracted, the file path should show as .exe
and not as a zip file
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/26d60236-2485-4341-ae20-d45299d87f6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ade
2015-07-08 09:11:04 UTC
Permalink
You were right Shawn. The file was already extracted without me realising a
.exe file had been created. Instead of copying the .exe file, I copied the
zip path. I was able to figure this out. Its sorted thanks
Post by Ade
I am trying to unzip chrome-driver file to get the extracted .exe format
so I can use it to set system property in in my selenium web-driver Java
program but I get the message: "Starting chrome-driver on port 9515. Only
local connections allowed" How do I fix this error and extract the
chrome-driver zip file? Has anyone ever experienced this? Thanks
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/7712a831-34af-4dc3-b57c-d50165d38224%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Kalaivani Karthikeyan
2016-04-11 16:14:44 UTC
Permalink
Hello Ade

I am experiencing the same issue, the file is already extracted but when i
run it, it opens up the cmd prompt and says port 9515, Only local
connections are allowed. Can you please help me how to get rid of this
issue.

Thanks
Post by Ade
I am trying to unzip chrome-driver file to get the extracted .exe format
so I can use it to set system property in in my selenium web-driver Java
program but I get the message: "Starting chrome-driver on port 9515. Only
local connections allowed" How do I fix this error and extract the
chrome-driver zip file? Has anyone ever experienced this? Thanks
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/a9fe083e-c03d-4c1f-9208-edd0d79247b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
⇜Krishnan Mahadevan⇝
2016-04-12 02:45:38 UTC
Permalink
Why do you feel that its an issue ? To the best of my knowledge its the
default behavior of the server binary when you spawn it from a command
prompt.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening
or in love with someone else!"
Post by Kalaivani Karthikeyan
Hello Ade
I am experiencing the same issue, the file is already extracted but when i
run it, it opens up the cmd prompt and says port 9515, Only local
connections are allowed. Can you please help me how to get rid of this
issue.
Thanks
Post by Ade
I am trying to unzip chrome-driver file to get the extracted .exe format
so I can use it to set system property in in my selenium web-driver Java
program but I get the message: "Starting chrome-driver on port 9515. Only
local connections allowed" How do I fix this error and extract the
chrome-driver zip file? Has anyone ever experienced this? Thanks
--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/a9fe083e-c03d-4c1f-9208-edd0d79247b9%40googlegroups.com
<https://groups.google.com/d/msgid/selenium-users/a9fe083e-c03d-4c1f-9208-edd0d79247b9%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLm1v3GpEfXswPfW8vj0qYRiOeXtn4RPtXM6YhDwmOgN4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...