QA-Automation-Starter / qa-automation

QA automation utilities and project generator
https://qa-automation-starter.aherscu.dev
Other
6 stars 4 forks source link

edge driver fails to open session on windows 10 #193

Open adrian-herscu opened 1 year ago

adrian-herscu commented 1 year ago

Description Edge driver fails to open local session on Windows 10.

Reproduction Steps to reproduce the behavior:

  1. run TestingWebApplication with EdgeDriver

Expected behavior Tests should pass, at least partially.

Additional context

Caused by: org.openqa.selenium.WebDriverException: unknown error: DevToolsActivePort file doesn't exist
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ILLT-85674J3', ip: '172.25.32.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_211'
Driver info: driver.version: EdgeDriver
remote stacktrace:  GetHandleVerifier [0x00007FF6CA7A3DB2+61490]
    Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6CA736002+740642]
    (No symbol) [0x00007FF6CA50B8AE]
    (No symbol) [0x00007FF6CA5415FA]
    (No symbol) [0x00007FF6CA53C555]
    (No symbol) [0x00007FF6CA537F13]
    (No symbol) [0x00007FF6CA57B7F8]
    (No symbol) [0x00007FF6CA5736E3]
    (No symbol) [0x00007FF6CA545EAA]
    (No symbol) [0x00007FF6CA54518B]
    (No symbol) [0x00007FF6CA546634]
    Microsoft::Applications::Events::ILogManager::DispatchEventBroadcast [0x00007FF6CA968D69+1207369]
    (No symbol) [0x00007FF6CA5C5304]
    Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6CA6890F1+32273]
    Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6CA6819E9+1801]
    Microsoft::Applications::Events::ILogManager::DispatchEventBroadcast [0x00007FF6CA967944+1202212]
    Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF6CA73E998+19784]
    Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF6CA73AE54+4612]
    Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF6CA73AF86+4918]
    Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6CA72F451+713073]
    BaseThreadInitThunk [0x00007FF919727614+20]
    RtlUserThreadStart [0x00007FF91ACA26B1+33]

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
    at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
    at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
    at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
    at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
    at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
    at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
    at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74)
    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:552)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
    at org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:141)
    at org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:96)

https://stackoverflow.com/questions/66682566/ms-edge-driver-error-devtoolsactiveport-file-doesnt-exist-works-only-with