Jump to content

Recommended Posts

Posted

Hello,

I'm working on a project and using the WebDriver UDF, works fine however, doesn't work if the project is executed with elevated rights, is this a limitation or I'm doing something wrong?

Thanks

Posted

:welcome:2️⃣logo_autoit_210x72.svg4️⃣um

 

can you share any log with errors ?

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Thanks for the reply.

What log would that be? the one generated by the webdriver (e.g. msEdge.log)

Also, just to let you know, if you open AutoIT (Scite editor) as admin and Test Run, it also doesn't work, nothing shows on the screen, apparently the driver doesn't like elevatd rights.

I will get the logs later in the day.

Thanks

Posted
  On 4/13/2023 at 11:53 AM, Danp2 said:

Yes.... please share more details because "doesn't work" isn't sufficient for us to diagnose the problem. Are you saying that adding #RequireAdmin to the start of any script using the WD UDF will cause it to fail?

Expand  

Correct.

Also, if you compile the project and run the generated EXE as Admin, it doesn't work.

Posted

Hmmm.... that doesn't match my experience. Here's the Scite logs from the test I just ran --

>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "C:\Users\danpo\OneDrive\Documents\GitHub\WebDriver\wd_demo.au3" /UserParams    
+>08:17:18 Starting AutoIt3Wrapper (22.611.2153.13) from:SciTE.exe (4.4.6.0)  Keyboard:00000409  OS:WIN_11/2009  CPU:X64 OS:X64  Environment(Language:0409)  CodePage:0  utf8.auto.check:4
+>         SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE   UserDir => C:\Users\danpo\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\danpo\AppData\Local\AutoIt v3\SciTE 
>Running AU3Check (3.3.16.1)  from:C:\Program Files (x86)\AutoIt3  input:C:\Users\danpo\OneDrive\Documents\GitHub\WebDriver\wd_demo.au3
+>08:17:19 AU3Check ended. rc:0
+>Setting Hotkeys...--> Press Ctrl+Alt+Break to Restart. --> Press Ctrl+BREAK to Stop.
->08:17:19 Script requires Admin rights while SciTE is at normal level -> Starting new AutoIt3Wrapper with #RequireAdmin to run the script.
+>08:17:23 Script started, waiting for output. (pid=12356)
-##>08:17:23 Restarted AutoIt3Wrapper with #RequireAdmin. (pid=12356)
>Running:(3.3.16.1):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\danpo\OneDrive\Documents\GitHub\WebDriver\wd_demo.au3"     
_WD_Option ==> Success [0] : Parameters:   Option=errormsgbox   Value=False
_WD_Option ==> Success [0] : Parameters:   Option=OutputDebug   Value=False
_WD_UpdateDriver ==> Success [0 / 0] : DriverCurrent = 0.33.0 : DriverLatest = 0.33.0
> UpdateResult = False
_WD_Option ==> Success [0] : Parameters:   Option=Driver   Value=geckodriver.exe
_WD_Option ==> Success [0] : Parameters:   Option=DriverParams   Value=--log trace
_WD_Option ==> Success [0] : Parameters:   Option=Port   Value=4444
_WD_CapabilitiesAdd ==> Success [0] : Successfully used [alwaysMatch]  with specified browser: firefox
_WD_CapabilitiesAdd ==> Success [0] : Successfully added capability
_WD_CapabilitiesAdd ==> Success [0] : Successfully added capability
_WD_GetBrowserPath ==> Success [0 / 1] : Parameters:    Browser=firefox
_WD_CapabilitiesAdd ==> Success [0] : Successfully added capability
wd_demo.au3: _WD_GetBrowserPath() > C:\Program Files\Mozilla Firefox\firefox.exe
_WD_CapabilitiesDump: JSON structure starts below: 1206
{
    "capabilities":{
        "alwaysMatch":{
            "browserName":"firefox",
            "acceptInsecureCerts":true,
            "moz:firefoxOptions":{
                "binary":"C:\\Program Files\\Mozilla Firefox\\firefox.exe"
            }
        }
    }
}
_WD_CapabilitiesDump: JSON structure ends above.
> wd_demo.au3: _WD_Startup
_WD_GetFreePort ==> Success [0] : 4444
_WD_IsLatestRelease ==> Success [0] : True
_WD_Startup: OS:    WIN_11 X64 22621 
_WD_Startup: AutoIt:    3.3.16.1
_WD_Startup: Webdriver UDF: 0.13.0 (Up to date)
_WD_Startup: WinHTTP:   1.6.4.2
_WD_Startup: Driver:    geckodriver.exe (64 Bit)
_WD_Startup: Params:    --log trace
_WD_Startup: Port:  4444
_WD_Startup: Command:   "geckodriver.exe" --log trace 
_WD_Startup ==> Success [0]
> wd_demo.au3: _WD_CreateSession
__WD_Post ==> Success [0] : HTTP status = 200
_WD_CreateSession ==> Success [0] : 1b1132bf-3063-4d65-801a-01b20dcf2d1b
> wd_demo.au3: Bypass: DemoTimeouts
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Action ==> Success [0] : Parameters:   Command=url   Option=Default
_WD_CheckContext ==> Success [0]
+ wd_demo.au3: Running: DemoNavigation
__WD_Post ==> Success [0] : HTTP status = 200
_WD_Navigate ==> Success [0] : Parameters:   URL=https://google.com
_WD_LoadWait ==> Success [0 / 4] : Parameters:    Delay=Default    Timeout=Default    Element=Default    DesiredState=complete    : ReadyState= complete (Fully loaded)
_WD_WaitElement ==> Success [0] : Parameters:   Strategy=xpath   Selector=//body/div[1][@aria-hidden="true"]   Delay=0   Timeout=60000   Options=8
_WD_LoadWait ==> Success [0 / 4] : Parameters:    Delay=Default    Timeout=Default    Element=Default    DesiredState=complete    : ReadyState= complete (Fully loaded)
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Action ==> Success [0] : Parameters:   Command=url   Option=Default
wd_demo.au3: (335) : URL=https://www.google.com/
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=window   Option=Default
__WD_Post ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=new   Option={"type":"tab"}
__WD_Post ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=Switch   Option={"handle":"bac3dd5f-289e-4e20-8361-dec034c02d97"}
_WD_NewTab ==> Success [0] : Parameters:    Switch=Default    Timeout=Default    URL=Default    Features=Default
__WD_Post ==> Success [0] : HTTP status = 200
_WD_Navigate ==> Success [0] : Parameters:   URL=https://yahoo.com
_WD_LoadWait ==> Success [0 / 4] : Parameters:    Delay=Default    Timeout=Default    Element=Default    DesiredState=complete    : ReadyState= complete (Fully loaded)
_WD_WaitElement ==> Success [0] : Parameters:   Strategy=xpath   Selector=//body[contains(@class, "blur-preview-tpl")]   Delay=0   Timeout=60000   Options=8
_WD_LoadWait ==> Success [0 / 4] : Parameters:    Delay=Default    Timeout=Default    Element=Default    DesiredState=complete    : ReadyState= complete (Fully loaded)
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Action ==> Success [0] : Parameters:   Command=url   Option=Default
wd_demo.au3: (340) : URL=https://www.yahoo.com/
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=window   Option=Default
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=handles   Option=Default
__WD_Post ==> Success [0] : HTTP status = 200
_WD_ExecuteScript ==> Success [0]
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=handles   Option=Default
__WD_Post ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=Switch   Option={"handle":"c420a161-c421-42c6-838e-6c8a8b30d08a"}
_WD_NewTab ==> Success [0] : Parameters:    Switch=True    Timeout=Default    URL=https://bing.com    Features=width=200,height=200
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Action ==> Success [0] : Parameters:   Command=url   Option=Default
wd_demo.au3: (343) : URL=about:blank
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=handles   Option=Default
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=window   Option=Default
__WD_Post ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=Switch   Option={"handle":"31de4731-398f-448d-b21c-d70ed67da47d"}
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Action ==> Success [0] : Parameters:   Command=URL   Option=Default
_WD_Attach ==> Success [0] : Parameters:    Search=google.com    Mode=URL
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Action ==> Success [0] : Parameters:   Command=url   Option=Default
wd_demo.au3: (346) : URL=https://www.google.com/
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=handles   Option=Default
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=window   Option=Default
__WD_Post ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=Switch   Option={"handle":"31de4731-398f-448d-b21c-d70ed67da47d"}
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Action ==> Success [0] : Parameters:   Command=URL   Option=Default
__WD_Post ==> Success [0] : HTTP status = 200
_WD_Window ==> Success [0] : Parameters:   Command=Switch   Option={"handle":"bac3dd5f-289e-4e20-8361-dec034c02d97"}
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Action ==> Success [0] : Parameters:   Command=URL   Option=Default
_WD_Attach ==> Success [0] : Parameters:    Search=yahoo.com    Mode=URL
__WD_Get ==> Success [0] : HTTP status = 200
_WD_Action ==> Success [0] : Parameters:   Command=url   Option=Default
wd_demo.au3: (349) : URL=https://www.yahoo.com/
+ wd_demo.au3: Finished: DemoNavigation
> wd_demo.au3: Bypass: DemoElements
> wd_demo.au3: Bypass: DemoScript
> wd_demo.au3: Bypass: DemoCookies
> wd_demo.au3: Bypass: DemoAlerts
> wd_demo.au3: Bypass: DemoFrames
> wd_demo.au3: Bypass: DemoActions
> wd_demo.au3: Bypass: DemoDownload
> wd_demo.au3: Bypass: DemoWindows
> wd_demo.au3: Bypass: DemoUpload
> wd_demo.au3: Bypass: DemoPrint
> wd_demo.au3: Bypass: DemoSleep
> wd_demo.au3: Bypass: DemoSelectOptions
> wd_demo.au3: Bypass: DemoStyles
> wd_demo.au3: Bypass: UserTesting
> wd_demo.au3: Bypass: UserFile
__WD_Delete ==> Success [0] : HTTP status = 200
_WD_DeleteSession ==> Success [0] : WebDriver session deleted
+>08:18:08 AutoIt3 ended. rc:0
-##<08:18:08 #RequireAdmin AutoIt3Wrapper run of script Finished.
+>08:18:08 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 50.36

My test was with FF, but I would expect other browsers to behave similarly. Could your issue be due to a rights issue on your side where the admin account can't access needed files / directories?

Posted

I tested my code with Edge, it works beautifully as long as I don't request elevated rights.

The source code and msdriver (msedgedriver.exe) is in a folder with access to all.

Posted

This appears to be a problem when using MSEdge. Here's the error that I received --

__WD_Post ==> Webdriver Exception [10] : HTTP status = 500 ResponseText={"value":{"error":"unknown error","message":"unknown error: Microsoft Edge failed to start: exited normally.\n  (unknown error: DevToolsActivePort file doesn't exist)\n  (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.)","stacktrace":"Backtrace:\n\tGetHandleVerifier [0x00007FF6F985DF92+60274]\n\tMicrosoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6F97EEBF2+818946]\n\t(No symbol) [0x00007FF6F947DFAE]\n\t(No symbol) [0x00007FF6F94A94B1]\n\t(No symbol) [0x00007FF6F94A440A]\n\t(No symbol) [0x00007FF6F94E7341]\n\t(No symbol) [0x00007FF6F94DF343]\n\t(No symbol) [0x00007FF6F94B1796]\n\t(No symbol) [0x00007FF6F94B0975]\n\t(No symbol) [0x00007FF6F94B1F04]\n\tMicrosoft::Applications::Events::EventProperties::SetLevel [0x00007FF6F96F27D7+1593703]\n\tMicrosoft::Applications::Events::EventProperties::SetLevel [0x00007FF6F959AC5D+185837]\n\tMicrosoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6F972FD47+36951]\n\tMicrosoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6F9727E55+4453]\n\tMicrosoft::Applications::Events::ILogManager::DispatchEventBroadcast [0x00007FF6F9A2FDB3+1319011]\n\tMicrosoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6F97F6CAC+851900]\n\tMicrosoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6F97F2D14+835620]\n\tMicrosoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6F97F2E6C+835964]\n\tMicrosoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6F97E8A41+793937]\n\tBaseThreadInitThunk [0x00007FFFBC37269D+29]\n\tRtlUserThreadStart [0x00007FFFBD46A9F8+40]\n"}}

Tested with both FF and Chrome without any issues. I know that I've read about errors related to DevToolsActivePort, but I don't recall if there's a viable solution. Are you sure that the admin user has rights to the temporary directory where the user profile is created?

Posted

I'm not at home at the moment, but this is the log generated when I run the code as admin:

 

[1681389261.580][INFO]: Starting Microsoft Edge WebDriver 112.0.1722.39 (e40a520f851f31c19c0c93c4278f5b408ec37d7c) on port 9515
[1681389261.580][INFO]: Please see https://aka.ms/WebDriverSecurity for suggestions on keeping Microsoft Edge WebDriver safe.
[1681389262.691][INFO]: [ff882d6536f5e83ac78f493fd2b5404c] COMMAND InitSession {
   "capabilities": {
      "alwaysMatch": {
         "acceptInsecureCerts": true,
         "ms:edgeOptions": {
            "args": [ "-inprivate", "--kiosk" ],
            "excludeSwitches": [ "enable-automation" ]
         }
      }
   }
}
[1681389262.692][INFO]: Populating Preferences file: {
   "alternate_error_pages": {
      "enabled": false
   },
   "autofill": {
      "enabled": false
   },
   "browser": {
      "check_default_browser": false
   },
   "distribution": {
      "import_bookmarks": false,
      "import_history": false,
      "import_search_engine": false,
      "make_chrome_default_for_user": false,
      "skip_first_run_ui": true
   },
   "dns_prefetching": {
      "enabled": false
   },
   "profile": {
      "content_settings": {
         "pattern_pairs": {
            "https://*,*": {
               "media-stream": {
                  "audio": "Default",
                  "video": "Default"
               }
            }
         }
      },
      "default_content_setting_values": {
         "geolocation": 1
      },
      "default_content_settings": {
         "geolocation": 1,
         "mouselock": 1,
         "notifications": 1,
         "popups": 1,
         "ppapi-broker": 1
      },
      "password_manager_enabled": false
   },
   "safebrowsing": {
      "enabled": false
   },
   "search": {
      "suggest_enabled": false
   },
   "translate": {
      "enabled": false
   }
}
[1681389262.692][INFO]: Populating Local State file: {
   "background_mode": {
      "enabled": false
   },
   "ssl": {
      "rev_checking": {
         "enabled": false
      }
   }
}
[1681389262.694][INFO]: Launching Microsoft Edge: "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -inprivate --allow-pre-commit-input --disable-background-networking --disable-backgrounding-occluded-windows --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-blink-features=ShadowDOMV0 --enable-logging --ignore-certificate-errors --kiosk --log-level=0 --no-first-run --no-service-autorun --password-store=basic --remote-debugging-port=0 --test-type=webdriver --use-mock-keychain --user-data-dir="C:\Program Files\scoped_dir10472_147977653" data:,
[1681389262.885][INFO]: [ff882d6536f5e83ac78f493fd2b5404c] RESPONSE InitSession ERROR unknown error: Microsoft Edge failed to start: exited normally.
  (unknown error: 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.)

 

Posted
  Quote

Tested with both FF and Chrome without any issues. I know that I've read about errors related to DevToolsActivePort, but I don't recall if there's a viable solution. Are you sure that the admin user has rights to the temporary directory where the user profile is created?

Expand  

Yes, the folder has no restrictions.

Posted

I think this could be realted to some kind of PROFILE issues.
Will take a look ASAP

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

I did test and got:

  Quote

Starting Microsoft Edge WebDriver 112.0.1722.39 (e40a520f851f31c19c0c93c4278f5b408ec37d7c) on port 9515
To submit feedback, report a bug, or suggest new features, please visit https://github.com/MicrosoftEdge/EdgeWebDriver

Only local connections are allowed.
Please see https://aka.ms/WebDriverSecurity for suggestions on keeping Microsoft Edge WebDriver safe.

Microsoft Edge WebDriver was started successfully.
[7392:17728:0413/150610.359:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled.
 

Expand  

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 4/13/2023 at 1:30 PM, Danp2 said:

--user-data-dir="C:\Program Files\scoped_dir10472_147977653" data:,

Expand  

Thanks.

 

 

 

I got it fixed with:
 

_WD_CapabilitiesAdd('args', 'user-data-dir', @LocalAppDataDir & '\Microsoft\Edge\User Data\WD_Testing_Profile')

 

You can check with wd_demo.au3 by replacing this function:

Func SetupEdge($bHeadless)
    _WD_Option('Driver', 'msedgedriver.exe')
    _WD_Option('Port', 9515)
    _WD_Option('DriverParams', '--verbose --log-path="' & @ScriptDir & '\msedge.log"')

;~  Local $sCapabilities = '{"capabilities": {"alwaysMatch": {"ms:edgeOptions": {"excludeSwitches": [ "enable-automation"]}}}}'
    _WD_CapabilitiesStartup()
    _WD_CapabilitiesAdd('alwaysMatch', 'msedge')
    _WD_CapabilitiesAdd('excludeSwitches', 'enable-automation')
    If $bHeadless Then _WD_CapabilitiesAdd('args', '--headless')
    _WD_CapabilitiesAdd('args', 'user-data-dir', @LocalAppDataDir & '\Microsoft\Edge\User Data\WD_Testing_Profile')
    _WD_CapabilitiesDump(@ScriptLineNumber) ; dump current Capabilities setting to console - only for testing in this demo
    Local $sCapabilities = _WD_CapabilitiesGet()
    Return $sCapabilities
EndFunc   ;==>SetupEdge

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  Quote
_WD_CapabilitiesAdd('args', 'user-data-dir', @LocalAppDataDir & '\Microsoft\Edge\User Data\WD_Testing_Profile')
Expand  

I will that to my code and see how it goes, just a question, can this be set as an automatic  default? or it should be add it always?

Posted
  On 4/13/2023 at 2:02 PM, Erik_NJ said:

can this be set as an automatic  default? or it should be add it always?

Expand  

If you add this to your code it will be added .
Default behavior is unset 

https://chromium.googlesource.com/chromium/src/+/master/docs/user_data_dir.md

https://learn.microsoft.com/en-us/deployedge/edge-learnmore-create-user-directory-vars

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Ok still not working, however, it went one step further, it opened the browser but it doesn't navigate, I'm attaching the logs in "MSEdge.log"

This is the SciTe logs when running with ELEVATED rights.

>"D:\Development\AutoIT_v33161\SciTe\..\AutoIt3.exe" "D:\Development\AutoIT_v33161\SciTe\AutoIt3Wrapper\AutoIt3Wrapper.au3" /test /run /prod /ErrorStdOut /in "D:\Development\AutoIT_v33161\_AutoIT-Apps\DEMO\WebTest.au3" /UserParams    
+>18:14:11 Starting AutoIt3Wrapper (21.316.1639.1) from:SciTE.exe (4.4.6.0)  Keyboard:00000409  OS:WIN_10/2009  CPU:X64 OS:X64  Environment(Language:0409)  CodePage:0  utf8.auto.check:4
+>         SciTEDir => D:\Development\AutoIT_v33161\SciTe   UserDir => D:\Development\AutoIT_v33161\SciTe\AutoIt3Wrapper
- *** Compile in Test mode skipping Tidy; Au3Stripper; Resource updating and Versioning to speed up the process. ***
>Running AU3Check (3.3.16.1)  from:D:\Development\AutoIT_v33161  input:D:\Development\AutoIT_v33161\_AutoIT-Apps\DEMO\WebTest.au3
+>18:14:12 AU3Check ended.rc:0
+>Setting Hotkeys...--> Press Ctrl+Alt+Break to Restart or Ctrl+BREAK to Stop.
->18:14:12 Script requires Admin rights while SciTE is at normal level -> Starting new AutoIt3Wrapper with #RequireAdmin to run the script.
+>18:14:14 Script started, waiting for output. (pid=3664)
-##>18:14:14 Restarted AutoIt3Wrapper with #RequireAdmin. (pid=3664)
- *** Compile in Test mode skipping Tidy; Au3Stripper; Resource updating and Versioning to speed up the process. ***
>Running:(3.3.16.1):D:\Development\AutoIT_v33161\autoit3_x64.exe "D:\Development\AutoIT_v33161\_AutoIT-Apps\DEMO\WebTest.au3"     
_WD_Option ==> Success [0] : Parameters:   Option=Driver   Value=D:\Development\AutoIT_v33161\_UDF\WebDriver\msedgedriver.exe
_WD_Option ==> Success [0] : Parameters:   Option=Port   Value=9515
_WD_Option ==> Success [0] : Parameters:   Option=DriverParams   Value=--log-path="D:\Development\AutoIT_v33161\_AutoIT-Apps\DEMO\MSEdge.log"
_WD_CapabilitiesAdd ==> Success [0] : Successfully used [alwaysMatch]  with specified browser: msedge
_WD_CapabilitiesAdd ==> Success [0] : Successfully added capability
_WD_CapabilitiesAdd ==> Success [0] : Successfully added capability
_WD_CapabilitiesAdd ==> Success [0] : Successfully added capability
_WD_CapabilitiesAdd ==> Success [0] : Successfully added capability
_WD_GetFreePort ==> Success [0] : 9515
_WD_IsLatestRelease ==> Success [0] : True
_WD_Startup: OS:    WIN_10 WIN32_NT 19045 
_WD_Startup: AutoIt:    3.3.16.1
_WD_Startup: Webdriver UDF: 0.13.0 (Up to date)
_WD_Startup: WinHTTP:   1.6.4.1 (Download latest source at <https://raw.githubusercontent.com/dragana-r/autoit-winhttp/master/WinHttp.au3>)
_WD_Startup: Driver:    D:\Development\AutoIT_v33161\_UDF\WebDriver\msedgedriver.exe (64 Bit)
_WD_Startup: Params:    --log-path="D:\Development\AutoIT_v33161\_AutoIT-Apps\DEMO\MSEdge.log"
_WD_Startup: Port:  9515
_WD_Startup: Command:   "D:\Development\AutoIT_v33161\_UDF\WebDriver\msedgedriver.exe" --log-path="D:\Development\AutoIT_v33161\_AutoIT-Apps\DEMO\MSEdge.log" 
_WD_Startup ==> Success [0]
__WD_Post ==> Webdriver Exception [10] : HTTP status = 500
_WD_CreateSession ==> Webdriver Exception [10]
__WD_Post ==> Invalid session ID [16] : HTTP status = 404
_WD_Navigate ==> Invalid session ID [16] : Parameters:   URL=http://www.google.com
__WD_Post ==> Invalid session ID [16] : HTTP status = 404
_WD_Navigate ==> Invalid session ID [16] : Parameters:   URL=http://www.duckduckgo.com
__WD_Post ==> Invalid session ID [16] : HTTP status = 404
_WD_Navigate ==> Invalid session ID [16] : Parameters:   URL=http://www.bing.com
__WD_Delete ==> Success [0] : HTTP status = 200
_WD_DeleteSession ==> Success [0] : WebDriver session deleted
+>18:14:34 AutoIt3.exe ended.rc:0
-##<18:14:34 #RequireAdmin AutoIt3Wrapper run of script Finished.
+>18:14:34 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 23.22

 

MSEdge-Logs.zipFetching info...

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...