mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
db3b441d19
* When IPS4 (e.g. LL) sites based on CEF fail to validate, they no longer hang the app * If a IPS4 CEF site throws a 503, or 400 error, retry * Clean out the cookies during IPS4 CEF downloads so that they don't cause 400 errors * Limit the number of connections to IPS4 sites to 20 per minute (one per 6 seconds) * If a site *does* timeout, throw a log of the CEF state into `CEFStates` for easier debugging by the WJ team * Wrote a new CLI utility to stress test the Verification routines. * Ignore files that have `\Edit Scripts\Export\` in their path
20 lines
532 B
C#
20 lines
532 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Net.Http;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using Wabbajack.Lib.LibCefHelpers;
|
|
|
|
namespace Wabbajack.Lib.WebAutomation
|
|
{
|
|
public interface IWebDriver
|
|
{
|
|
Task NavigateTo(Uri uri, CancellationToken? token = null);
|
|
Task<string> EvaluateJavaScript(string text);
|
|
Task<Helpers.Cookie[]> GetCookies(string domainPrefix);
|
|
public Action<Uri>? DownloadHandler { get; set; }
|
|
}
|
|
}
|