To do that, follow the appropriate steps below, for the tool you want to use. Next, clone the GitHub repo to your local drive. Open the WebView2Samples repo in a new window or tab.Ĭlick the green Code button in the upper right of the GitHub repo, select Clone, and then click the Copy icon (or, select the HTTPS URL string in the text box and copy it).ĭecide which tool you want to use to locally clone the repo: Obtain the URL for cloning the WebView2Samples repo If you want to clone the WebView2Samples repo (instead of downloading it), and if git isn't not already installed, download git and install it.You can download the repo, as described above, or clone it. To clone the WebView2Samples repo (or the WebView2Browser repo), you must first install git. Recommended: Rename the root directory from WebView2Samples-main to WebView2Samples, to match the repo name and path. This documentation assumes that you downloaded the main branch of the repo. zip file is a snapshot of the smoketest-.27-prerelease-testing branch of the repo. It is possible to switch to a different branch at GitHub and then download, for example,. main is the name of the repo branch that this downloaded directory snapshot represents. Unzip the WebView2Samples-main.zip file and note the location of the unzipped files. It is recommended that you don't click the Open file link, because that immediately unzips the file in your Downloads area, which could make it harder (and slower) to move to your desired location.Ĭopy or cut the WebView2Samples-main.zip file from your Downloads directory to a regular directory, such as Documents. In the Downloads pop-up window, hover to the right of WebView2Samples-main.zip and then click the Show in folder (folder) icon. In Microsoft Edge, if the Download pop-up isn't visible, click Settings and more (.) and then click Downloads. ![]() The Download pop-up appears in Microsoft Edge: Open the WebView2Samples repo (or the WebView2Browser repo) in a new window or tab.Ĭlick the green Code button in the upper right of the GitHub repo, and then click Download ZIP. If you clone the repo, you can update your local copy using git commands or features of various Dev apps. You can then download another, updated copy of the repo later. zip file), you get a snapshot copy of the repo. There are two repos containing WebView2 samples: A prerelease SDK enables testing your app against the latest APIs, and trying out the latest APIs. The preview channels of Microsoft Edge are required in order to use a prerelease version of the WebView2 SDK. The minimum required version is 82.0.488.0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |