Interact in C # with a web page

  • Thread starter Thread starter Dropper7894
  • Start date Start date
D

Dropper7894

Guest
Hello, I created a launcher to download a game. This button on "Download" is available on the HTML page integrated into CEFSHARP (web browser with chrome engine). It starts the download from the launcher.

Here is the code I use to download a file

WebClient client = new WebClient();
client.DownloadProgressChanged += new DownloadProgressChangedEventHandler(client_DownloadProgressChanged);
client.DownloadFileCompleted += Client_DownloadFileCompleted;
client.DownloadFileAsync(new Uri("fileURL"), System.IO.Path.Combine(fbd2.SelectedPath, "test.7z"));



But instead of pressing a button, I want to press a button on a website.


sorry for my English




Continue reading...
 
Back
Top