🏡Introduction
Our platform generates remote connection endpoints on demand. To launch a browser with default options, just make a simple call to https://production.cloudbrowser.ai/api/v1/Browser/Open.
This triggers the creation of a browser on our side and provides you with a connection endpoint. With this endpoint, you can perform various automation tasks according to your needs.

Update your app to use CloudBrowser #
Next we will show you how to modify your application to take advantage of remote browsers instead of running them locally. You only need to have CloudBrowserAiSharp.Puppeteer installed and use your API token.
using CloudBrowserAiSharp.Puppeteer.Browser;
using CloudBrowserAiSharp.Puppeteer.Extensions;
public class Program
{
public static async Task Main(string[] args)
{
var browser = await BrowserExtension.LaunchAsync("YOUR CLOUDBROWSER.AI TOKEN").ConfigureAwait(false);
var page = await browser.FirstPage().ConfigureAwait(false);
await page.GoToAsync("https://www.cloudbrowser.ai").ConfigureAwait(false);
await browser.CloseAsync();
}
}
Remember to install nuget to use our functions.
dotnet add package CloudBrowserAiSharp.Puppeteer
Last updated