Jump to content

Edge : DevToolsActivePort file doesn't exist.


Recommended Posts

Hi,
Sorry by advance for my bad english, I'm french !!
I'm trying to open an Edge window in the same User profile and navigate to an intranet web page.
This work fine when user has not yet open another Edge brother.
 

__WD_Post ==> Success [0] : HTTP status = 200
_WD_Navigate ==> Success [0] : Parameters:   URL=http://seria.sso.francetelecom.fr/seria/welcome.do?

>> OK

But if user has already an Edge window/page Opened, I have only a New page opened and no navigation to the intranet site.
 

Here my Console Logs:

_WD_CapabilitiesDump: JSON structure ends above.
_WD_GetFreePort ==> Success [0 / 9516] : Parameters:   MinPort=9516   MaxPort=Default
_WD_IsLatestRelease ==> Success [0] : True
_WD_Startup: OS:    WIN_11 X64 22621 
_WD_Startup: AutoIt:    3.3.16.1
_WD_Startup: Webdriver UDF: 1.4.0 (Up to date)
_WD_Startup: WinHTTP:   1.6.4.2
_WD_Startup: Driver:    msedgedriver.exe (32 Bit)
_WD_Startup: Params:    --port=9516 --verbose --log-path="C:\Travail\Travail_Autoit\AutoSERIA_a_modifier_en_SERIA AUTOMATION_2DG\msedge.log"
_WD_Startup: Port:  9516
_WD_Startup: Command:   "msedgedriver.exe" --port=9516 --verbose --log-path="C:\Travail\Travail_Autoit\AutoSERIA_a_modifier_en_SERIA AUTOMATION_2DG\msedge.log" 
_WD_Startup ==> Success [0]
> wd_demo.au3: _WD_CreateSession
> $sCapabilities juste avant le _WD_CreateSession{
    "capabilities":{
        "alwaysMatch":{
            "ms:edgeOptions":{
                "excludeSwitches":[
                    "enable-automation"
                ],
                "args":[
                    "--user-data-dir=C:\\Users\\TUKA7260\\AppData\\Local\\Microsoft\\Edge\\User Data",
                    "--profile-directory=Default"
                ]
            }
        }
    }
}
__WD_Post ==> Session not created [15] : HTTP status = 500
_WD_CreateSession ==> Session not created [15] : session not created: Microsoft Edge failed to start: exited normally.
  (session not created: DevToolsActivePort file doesn't exist)
  (The process started from msedge location C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe is no longer running, so msedgedriver is assuming that msedge has crashed.)
> @extended::0
> $sSession = 
__WD_Post ==> Invalid session ID [16] : HTTP status = 404
_WD_Navigate ==> Invalid session ID [16] : Parameters:   URL=http://seria.sso.francetelecom.fr/seria/welcome.do?

 

I saw a lot of another posts before and tryed to add other "capabilities" but no result


Tanks a lot for your help
 

Edited by tac7
Link to comment
Share on other sites

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   1 member

×
×
  • Create New...