Erik_NJ Posted April 13, 2023 Share Posted April 13, 2023 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 Link to comment Share on other sites More sharing options...
mLipok Posted April 13, 2023 Share Posted April 13, 2023 2️⃣4️⃣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 Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
Danp2 Posted April 13, 2023 Share Posted April 13, 2023 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? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Erik_NJ Posted April 13, 2023 Author Share Posted April 13, 2023 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 Link to comment Share on other sites More sharing options...
Erik_NJ Posted April 13, 2023 Author Share Posted April 13, 2023 12 minutes ago, 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? Correct. Also, if you compile the project and run the generated EXE as Admin, it doesn't work. Link to comment Share on other sites More sharing options...
Danp2 Posted April 13, 2023 Share Posted April 13, 2023 Hmmm.... that doesn't match my experience. Here's the Scite logs from the test I just ran -- expandcollapse popup>"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? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Erik_NJ Posted April 13, 2023 Author Share Posted April 13, 2023 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. Link to comment Share on other sites More sharing options...
Danp2 Posted April 13, 2023 Share Posted April 13, 2023 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? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Erik_NJ Posted April 13, 2023 Author Share Posted April 13, 2023 I'm not at home at the moment, but this is the log generated when I run the code as admin: expandcollapse popup[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.) Link to comment Share on other sites More sharing options...
Erik_NJ Posted April 13, 2023 Author Share Posted April 13, 2023 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? Yes, the folder has no restrictions. Link to comment Share on other sites More sharing options...
mLipok Posted April 13, 2023 Share Posted April 13, 2023 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 Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
Danp2 Posted April 13, 2023 Share Posted April 13, 2023 I agree that it is profile related. I suspect that this is the cause -- Quote --user-data-dir="C:\Program Files\scoped_dir10472_147977653" data:, I wouldn't expect a temporary directory to be created under the Program Files directory. 🤔 mLipok 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
mLipok Posted April 13, 2023 Share Posted April 13, 2023 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. 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 Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
mLipok Posted April 13, 2023 Share Posted April 13, 2023 15 minutes ago, Danp2 said: --user-data-dir="C:\Program Files\scoped_dir10472_147977653" data:, 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 Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
mLipok Posted April 13, 2023 Share Posted April 13, 2023 please also take a look on: https://github.com/Danp2/au3WebDriver/pull/452 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 Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
Erik_NJ Posted April 13, 2023 Author Share Posted April 13, 2023 Quote _WD_CapabilitiesAdd('args', 'user-data-dir', @LocalAppDataDir & '\Microsoft\Edge\User Data\WD_Testing_Profile') 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? Link to comment Share on other sites More sharing options...
Danp2 Posted April 13, 2023 Share Posted April 13, 2023 23 minutes ago, mLipok said: I did test and got: That's only the output from the webdriver console. You would need to check the .log file or the Scite console output. Quote I got it fixed with: That's a good workaround for the problem with Edge until they hopefully fix it on their end. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
mLipok Posted April 13, 2023 Share Posted April 13, 2023 1 minute ago, Erik_NJ said: can this be set as an automatic default? or it should be add it always? 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 Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
Erik_NJ Posted April 13, 2023 Author Share Posted April 13, 2023 I will modify my code and report back. Thanks fellas. Link to comment Share on other sites More sharing options...
Erik_NJ Posted April 13, 2023 Author Share Posted April 13, 2023 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. expandcollapse popup>"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.zip Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now