Once you have done this, you can open the application in Visual Studio by double-clicking on the form_fill_selenium.sln solution file. It is worth making a working copy of this folder elsewhere as Windows UAC (User Account Control) will normally stop you making changes to that directory. %ProgramFiles%\HttpWatch\api_examples\edge\form_fill_selenium\ ![]() The sample program is in the following folder: The Visual Studio C# project uses the following Nuget packages to automatically download and install the required Selenium libraries: It will start Edge, submit a form on a web page and then display page load timings from HttpWatch Modify the new EdgeDriver(.) statement if you placed the Edge driver in a location other than C:\edgedriver_win64.Open the solution file form_fill_selenium.sln in Visual Studio 2015 or later.Extract the file msedgedriver.exe from the download and place it in a local directory, e.g. ![]() Download the driver for the version of Edge that you are using from. ![]() To run this sample you will need to perform the following steps: Selenium is a multi-platform open source browser automation framework that can be used to drive and interrogate web pages in Edge and other browsers. ![]() It is not possible to directly interact with web page controls using HttpWatch, so this program uses the Selenium framework to enter a value into a form field and then click on the submit button. This C# sample program uses the HttpWatch automation interface to record and analyze the HTTP traffic generated by submitting a web page form.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |