5/8/2023 0 Comments Ms edge versionsWmic datafile where name="C:\\Program Files (x86)\\Microsoft\\Edge Dev\\Application\\msedge. Wmic datafile where name="C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe" get Version /valueįor the Microsoft Edge Dev or Beta version, change the path to yours: You could use the following command to get the Microsoft Edge Chromium Version:įor Microsoft Edge Stable version (using the default setting): Print(driver.capabilities)īesides, here is another method to use Command Line to get the Edge chromium version, might be it can help you. Option.binary_location = "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe"ĭriver = webdriver.Edge(executable_path=r'E:\webdriver\edgedriver_win64_81_0_416_72\edgedriver_win64\msedgedriver.exe', capabilities= option.to_capabilities()) t_capability("useAutomationExtension", "false") Then, use the driver.capabilities command to get the Microsoft Edge Chromium version in python, more detail, please check the following code (remember to change the path to yours): import timeįrom import Options I have to automate getting edge chromium browser version in python.ĭo you mean you want to use selenium Edge webdriver to do the automate test? If that is the case, you could refer to this article to download the correct Microsoft WebDriver version for your build of Microsoft Edge, and download a WebDriver language binding of your choice. Microsoft Edge Version 1.54 allows admins to disable the Discover app and still keep the Sidebar. Tested with Python 3.8.2 on Windows 10 Version 1909 Process = subprocess.check_output(cmdArgs)ĮdgeVersion3 = re.sub("Version=", "", process.strip().decode()) Registry (Method 2) reg.exe QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\'".format(msedgeExe), "GET", "Version", "/value"] Registry (Method 1) reg.exe QUERY "HKEY_CURRENT_USER\Software\Microsoft\Edge\BLBeacon" /t REG_SZ /reg:32 /v version You can retrieve Microsoft Edge Chromium version programmatically: from Windows Registry or Windows Management Instrumentation (WMI) Database
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |