Discussion:
[selenium-users] Chrome is not able to Open
patel palak
2018-06-01 02:46:17 UTC
Permalink
Starting ChromeDriver 2.39.562718
(9a2698cba08cf5a471a29d30c8b3e12becabb0e9) on port 36909
Only local connections are allowed.
Exception in thread "main" org.openqa.selenium.WebDriverException: unknown
error: DevToolsActivePort file doesn't exist
(Driver info: chromedriver=2.39.562718
(9a2698cba08cf5a471a29d30c8b3e12becabb0e9),platform=Windows NT 6.3.9600
x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 60.14 seconds
Build info: version: '3.12.0', revision: '7c6e0b3', time:
'2018-05-08T15:15:03.216Z'
System info: host: 'L75306044', ip: '10.239.210.17', os.name: 'Windows
8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_171'
Driver info: driver.version: ChromeDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at
org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at
org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53)
at
org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91)
at
org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:207)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:123)
at Basics.NetbankLogin.main(NetbankLogin.java:18)
--
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/dc63dc50-a035-4986-8db5-382e9ea9593b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Venkat Gurram
2018-06-08 01:29:07 UTC
Permalink
Hi there,

I am a newbie to selenium and Python. Did setup as basic requirements.
I just started a basic python script to open www.google.com in Chrome but i
am getting this below error.


*ERROR:*
C:\Python27\python.exe C:/Python27/gurramv/test123/fb
Traceback (most recent call last):
File "C:/Python27/gurramv/test123/fb", line 6, in <module>
driver =
webdriver.Chrome('C:\Python27\gurramv\drivers\chromedriver.exe')
File
"C:\Python27\lib\site-packages\selenium-3.12.0-py2.7.egg\selenium\webdriver\chrome\webdriver.py",
line 75, in __init__
desired_capabilities=desired_capabilities)
File
"C:\Python27\lib\site-packages\selenium-3.12.0-py2.7.egg\selenium\webdriver\remote\webdriver.py",
line 156, in __init__
self.start_session(capabilities, browser_profile)
File
"C:\Python27\lib\site-packages\selenium-3.12.0-py2.7.egg\selenium\webdriver\remote\webdriver.py",
line 245, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File
"C:\Python27\lib\site-packages\selenium-3.12.0-py2.7.egg\selenium\webdriver\remote\webdriver.py",
line 314, in execute
self.error_handler.check_response(response)
File
"C:\Python27\lib\site-packages\selenium-3.12.0-py2.7.egg\selenium\webdriver\remote\errorhandler.py",
line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error:
DevToolsActivePort file doesn't exist
(Driver info: chromedriver=2.39.562718
(9a2698cba08cf5a471a29d30c8b3e12becabb0e9),platform=Windows NT 6.1.7601 SP1
x86_64)


Process finished with exit code 1

*System Details : *
Python: 2.7
PyCharm : 2018.1.4 (Community Edition) [ Build #PC-181.5087.37, built on
May 24, 2018 ]
JRE: 1.8.0_152-release-1136-b39 x86
JVM: OpenJDK Server VM by JetBrains s.r.o
Windows 7
installed - selenium-3.12.0.tar.gz from -
https://pypi.org/project/selenium/#files [ as pip install -U selenium ( did
not work ) ]
selenium drivers : ChromeDriver 2.39 *[ *chromedriver_win32.zip ]
...
I started seeing this problem on Monday 2018-06-04. Our tests run each
weekday. It appears that the only thing that changed was the google-chrome
version (which had been updated to current) JVM and Selenium were recent
versions on Linux box ( Java 1.8.0_151, selenium 3.12.0, google-chrome
67.0.3396.62, and xvfb-run).
Specifically adding the arguments "*--no-sandbox*" and "
*--disable-dev-shm-usage*" stopped the error. I already had coded
"--disable-extensions". I'll look into these issues to find more info
about the effect, and other questions as in what triggered google-chrome to
update.
ChromeOptions options = new ChromeOptions();
...
options.addArguments("--no-sandbox");
options.addArguments("--disable-dev-shm-usage");
I want to clarify that this code was running each weekday on an Ubuntu
Linux box, but equivalent code on Windows desktop ran OK even on Monday.
I've found no info about what the functionality of the DevToolsActivePort
file is for and that would be useful too.
I'm posting a similar reply to other locations I'm seeing this. PK
--
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/f095d82f-f5ff-4a02-a091-b6b57be3fcef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
p***@gmail.com
2018-07-16 12:19:33 UTC
Permalink
Hi,

i am also facing same issue. Is there any solution for this.
Post by patel palak
Starting ChromeDriver 2.39.562718
(9a2698cba08cf5a471a29d30c8b3e12becabb0e9) on port 36909
Only local connections are allowed.
Exception in thread "main" org.openqa.selenium.WebDriverException: unknown
error: DevToolsActivePort file doesn't exist
(Driver info: chromedriver=2.39.562718
(9a2698cba08cf5a471a29d30c8b3e12becabb0e9),platform=Windows NT 6.3.9600
x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 60.14 seconds
'2018-05-08T15:15:03.216Z'
System info: host: 'L75306044', ip: '10.239.210.17', os.name: 'Windows
8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_171'
Driver info: driver.version: ChromeDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at
org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at
org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53)
at
org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91)
at
org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:207)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:123)
at Basics.NetbankLogin.main(NetbankLogin.java:18)
--
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/cab52bd8-7419-467a-ba8d-eba3dacbc5b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
VIDYA SAGAR POGIRI
2018-07-16 12:22:17 UTC
Permalink
I think you should update your chrome browser, update pom.xml and kill all
the chrome instances.


*Thanks,*

*Vidya,*
*99966229668.*
Post by p***@gmail.com
Hi,
i am also facing same issue. Is there any solution for this.
Starting ChromeDriver 2.39.562718 (9a2698cba08cf5a471a29d30c8b3e12becabb0e9)
on port 36909
Only local connections are allowed.
unknown error: DevToolsActivePort file doesn't exist
(Driver info: chromedriver=2.39.562718 (9a2698cba08cf5a471a29d30c8b3e12becabb0e9),platform=Windows
NT 6.3.9600 x86_64) (WARNING: The server did not provide any stacktrace
information)
Command duration or timeout: 60.14 seconds
'2018-05-08T15:15:03.216Z'
System info: host: 'L75306044', ip: '10.239.210.17', os.name: 'Windows
8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_171'
Driver info: driver.version: ChromeDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(Erro
rHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFaile
d(ErrorHandler.java:166)
at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$
new$0(JsonWireProtocolResponse.java:53)
at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$
getResponseFunction$2(JsonWireProtocolResponse.java:91)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSe
ssion$0(ProtocolHandshake.java:123)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(P
rotocolHandshake.java:126)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(P
rotocolHandshake.java:73)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpC
ommandExecutor.java:136)
at org.openqa.selenium.remote.service.DriverCommandExecutor.exe
cute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWeb
Driver.java:543)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(Remo
teWebDriver.java:207)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebD
river.java:130)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:123)
at Basics.NetbankLogin.main(NetbankLogin.java:18)
--
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/cab52bd8-7419-467a-ba8d-eba3dacbc5b4%
40googlegroups.com
<https://groups.google.com/d/msgid/selenium-users/cab52bd8-7419-467a-ba8d-eba3dacbc5b4%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/CAHGrZKNd0wqmREV_HB1A34%3D3SC6J8TZ53nf2op1jxBgoKqzobg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
p***@gmail.com
2018-07-16 12:44:33 UTC
Permalink
My Browser version : 67, chrome driver : 2.39, selenium:2.53.1

Killed all process and tried, but still getting same issue.
Post by VIDYA SAGAR POGIRI
I think you should update your chrome browser, update pom.xml and kill all
the chrome instances.
*Thanks,*
*Vidya,*
*99966229668.*
Post by p***@gmail.com
Hi,
i am also facing same issue. Is there any solution for this.
Post by patel palak
Starting ChromeDriver 2.39.562718
(9a2698cba08cf5a471a29d30c8b3e12becabb0e9) on port 36909
Only local connections are allowed.
unknown error: DevToolsActivePort file doesn't exist
(Driver info: chromedriver=2.39.562718
(9a2698cba08cf5a471a29d30c8b3e12becabb0e9),platform=Windows NT 6.3.9600
x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 60.14 seconds
'2018-05-08T15:15:03.216Z'
System info: host: 'L75306044', ip: '10.239.210.17', os.name: 'Windows
8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_171'
Driver info: driver.version: ChromeDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at
org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at
org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53)
at
org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91)
at org.openqa.selenium.remote.Pro
tocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at org.openqa.selenium.remote.Pro
tocolHandshake.createSession(ProtocolHandshake.java:126)
at org.openqa.selenium.remote.Pro
tocolHandshake.createSession(ProtocolHandshake.java:73)
at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:207)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:123)
at Basics.NetbankLogin.main(NetbankLogin.java:18)
--
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/cab52bd8-7419-467a-ba8d-eba3dacbc5b4%40googlegroups.com
<https://groups.google.com/d/msgid/selenium-users/cab52bd8-7419-467a-ba8d-eba3dacbc5b4%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/310e47a4-9b4e-4ff0-b478-e5ee1d614034%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Vidya Sagar Pogiri
2018-07-16 12:50:45 UTC
Permalink
Update chrome driver to 2.40 and update Pom.xml . Hopefully this will resolve your issues

Best,
Vidya,
9966229668.

Sent from my iPhone
Post by p***@gmail.com
chrome driver : 2.39
--
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/B4BB81A2-581E-48C1-8877-87BC72DE77ED%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Venkat Gurram
2018-07-23 04:13:01 UTC
Permalink
Hi Vidya,

Still didn't fix my problem.
Could you advise, what is the significance of pom.xml?


chrome Version 67.0.3396.99
Post by Vidya Sagar Pogiri
Update chrome driver to 2.40 and update Pom.xml . Hopefully this will resolve your issues
Best,
Vidya,
9966229668.
Sent from my iPhone
Post by p***@gmail.com
chrome driver : 2.39
--
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/4148f49a-28d9-4328-a3b5-02bdf1550607%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Vidya Sagar Pogiri
2018-07-23 05:41:48 UTC
Permalink
Pom.xml contains all the dependency jars and libraries required for the project to run.

Try to update the Pom , chrome driver along with chrome browser and give a try

Best,
Vidya,
9966229668.

Sent from my iPhone
Post by Venkat Gurram
Hi Vidya,
Still didn't fix my problem.
Could you advise, what is the significance of pom.xml?
chrome Version 67.0.3396.99
Post by Vidya Sagar Pogiri
Update chrome driver to 2.40 and update Pom.xml . Hopefully this will resolve your issues
Best,
Vidya,
9966229668.
Sent from my iPhone
Post by p***@gmail.com
chrome driver : 2.39
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/4148f49a-28d9-4328-a3b5-02bdf1550607%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/E9837373-C17C-45AB-977D-0BB6FAED95F5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
వినయ్ కుమార్ నల్ల
2018-07-31 15:45:18 UTC
Permalink
Please help me anyone even i am facing same issue....
Post by patel palak
Starting ChromeDriver 2.39.562718
(9a2698cba08cf5a471a29d30c8b3e12becabb0e9) on port 36909
Only local connections are allowed.
Exception in thread "main" org.openqa.selenium.WebDriverException: unknown
error: DevToolsActivePort file doesn't exist
(Driver info: chromedriver=2.39.562718
(9a2698cba08cf5a471a29d30c8b3e12becabb0e9),platform=Windows NT 6.3.9600
x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 60.14 seconds
'2018-05-08T15:15:03.216Z'
System info: host: 'L75306044', ip: '10.239.210.17', os.name: 'Windows
8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_171'
Driver info: driver.version: ChromeDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at
org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at
org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53)
at
org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91)
at
org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:207)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:123)
at Basics.NetbankLogin.main(NetbankLogin.java:18)
--
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/acc17713-8dc7-451e-b552-808c2baac7e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
p***@gmail.com
2018-08-01 11:48:40 UTC
Permalink
I started seeing this problem on Monday 2018-06-04. Our tests run each
weekday. It appears that the only thing that changed was the google-chrome
version (which had been updated to current) JVM and Selenium were recent
versions on Linux box ( Java 1.8.0_151, selenium 3.12.0, google-chrome
67.0.3396.62, and xvfb-run).
Specifically adding the arguments "*--no-sandbox*" and "
*--disable-dev-shm-usage*" stopped the error.
Ref
https://stackoverflow.com/questions/50642308/org-openqa-selenium-webdriverexception-unknown-error-devtoolsactiveport-file-d/50725918#50725918
Post by వినయ్ కుమార్ నల్ల
Please help me anyone even i am facing same issue....
Post by patel palak
Starting ChromeDriver 2.39.562718
(9a2698cba08cf5a471a29d30c8b3e12becabb0e9) on port 36909
Only local connections are allowed.
unknown error: DevToolsActivePort file doesn't exist
(Driver info: chromedriver=2.39.562718
(9a2698cba08cf5a471a29d30c8b3e12becabb0e9),platform=Windows NT 6.3.9600
x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 60.14 seconds
'2018-05-08T15:15:03.216Z'
System info: host: 'L75306044', ip: '10.239.210.17', os.name: 'Windows
8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_171'
Driver info: driver.version: ChromeDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at
org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at
org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53)
at
org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91)
at
org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:207)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:123)
at Basics.NetbankLogin.main(NetbankLogin.java:18)
--
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/d32bdeeb-e4ba-4c42-8558-4ea57e034a3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
DN31
2018-09-18 19:58:05 UTC
Permalink
Thank you. Still learning here, where would I add that code?
ChromeOptions options = new ChromeOptions();
...
options.addArguments("--no-sandbox");
options.addArguments("--disable-dev-shm-usage");

Should I add this to webdriver.py or options.py or somewhere else entirely.
Thank you
...
I started seeing this problem on Monday 2018-06-04. Our tests run each
weekday. It appears that the only thing that changed was the google-chrome
version (which had been updated to current) JVM and Selenium were recent
versions on Linux box ( Java 1.8.0_151, selenium 3.12.0, google-chrome
67.0.3396.62, and xvfb-run).
Specifically adding the arguments "*--no-sandbox*" and "
*--disable-dev-shm-usage*" stopped the error. I already had coded
"--disable-extensions". I'll look into these issues to find more info
about the effect, and other questions as in what triggered google-chrome to
update.
ChromeOptions options = new ChromeOptions();
...
options.addArguments("--no-sandbox");
options.addArguments("--disable-dev-shm-usage");
I want to clarify that this code was running each weekday on an Ubuntu
Linux box, but equivalent code on Windows desktop ran OK even on Monday.
I've found no info about what the functionality of the DevToolsActivePort
file is for and that would be useful too.
I'm posting a similar reply to other locations I'm seeing this. PK
--
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/72f2e69f-de08-49bc-9ab6-b37bf14943f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...