How to control Edge Browser without updating Edge Driver

trungkobe 1 Reputation point
2022-04-25T06:47:37.157+00:00

Hello,

My name is Trung. I am coding VB.NET program which control Edge browser, using Chrominum engine and Edge driver which is fit for current Edge Browser. It is necessary to update Edge Driver through internet for matching with Edge Browser before controlling Edge Browser. But there is one problem that the program will be run in an environment without an internet connection, so that updating Edge Driver is impossible. Could you teach me an other way to control Edge browser without updating Edge Driver please. Thank you in advance.

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,234 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XuDong Peng-MSFT 10,341 Reputation points Microsoft Vendor
    2022-04-26T02:46:41.297+00:00

    Hi @trungkobe ,

    But there is one problem that the program will be run in an environment without an internet connection, so that updating Edge Driver is impossible.

    First of all, you mentioned that the program will run without network, so you won't need to worry about version updates. Because in this environment, Edge will not complete automatic updates, and Edge and driver will be able to maintain the same version.

    Could you teach me an other way to control Edge browser without updating Edge Driver please.

    Secondly, the official recommendation is to use the Edge driver for automation, but the version of the browser and driver needs to match, so I think there is no other way to implement this requirement.

    Even in an environment with network, you can control the update of Microsoft Edge through Group Policy to keep it in any version without automatic update, and then use the corresponding version of the driver to achieve your needs. Just refer to this policy: Microsoft Edge Policy-Update.

    Regards,
    Xudong Peng


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.