2019-12-26 23:26:53 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
2020-02-11 00:30:38 +00:00
|
|
|
|
using System.Net.Http;
|
2019-12-26 23:26:53 +00:00
|
|
|
|
using System.Text;
|
2020-12-31 06:44:42 +00:00
|
|
|
|
using System.Threading;
|
2019-12-26 23:26:53 +00:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Wabbajack.Lib.LibCefHelpers;
|
|
|
|
|
|
|
|
|
|
namespace Wabbajack.Lib.WebAutomation
|
|
|
|
|
{
|
|
|
|
|
public interface IWebDriver
|
|
|
|
|
{
|
2020-12-31 06:44:42 +00:00
|
|
|
|
Task NavigateTo(Uri uri, CancellationToken? token = null);
|
2019-12-26 23:26:53 +00:00
|
|
|
|
Task<string> EvaluateJavaScript(string text);
|
|
|
|
|
Task<Helpers.Cookie[]> GetCookies(string domainPrefix);
|
2020-04-10 01:29:53 +00:00
|
|
|
|
public Action<Uri>? DownloadHandler { get; set; }
|
2019-12-26 23:26:53 +00:00
|
|
|
|
}
|
|
|
|
|
}
|