Extensions for AsyncFirefoxDriver.
- LiveIp to get ip
- LivePreferences to view and edit Firefox preferences of running profile
- AddonManager have methods GetAddonsList, InstallAddon, InstallTemporaryAddon, UninstallAddon
- CacheStorage with GetCacheInfo, GetEntryHeaders, SaveEntryDataToFile, GetEntryData and Clear methods
- Fetch(url) to load any file
- You say, what to do first. On gitter or in issues.
If you want to include AsyncFirefoxDriverExtensions in your project, you can install it directly from NuGet
PM> Install-Package AsyncFirefoxDriverExtensions
var ip = await firefoxDriver.GetLiveIp();
var prefPath = "intl.accept_languages";
var res = await firefoxDriver.LivePreferences().GetLocalized(prefPath);
await firefoxDriver.LivePreferences().Set(prefPath, "'en-us,en'");
var addons = await firefoxDriver.AddonManager().GetAddonsList();
var res = await firefoxDriver.AddonManager().InstallAddon(addonPath);
var res = await firefoxDriver.AddonManager().InstallTemporaryAddon(addonPath2);
await firefoxDriver.AddonManager().UninstallAddon(addonId);
var cacheInfo = await firefoxDriver.CacheStorage().GetCacheInfo();Look at FirefoxDriverExtensionsExample.
Run built Example in release tab.