Navigation

Go To URL

Updates the URL of the current active tab to a specified URL.

NOTE

Get is a GPAL-level convenience rather than a route of its own. It turns headless on, sets the download options that suit a run with no window, tells the browser to navigate in the current tab, and then calls GoTo, so the request that goes out is this one. It launches a headless browser when none is open. To land on a new tab instead, use the NewTab action, which takes the url and opens it.

Examples

GPAL Fluent: High-level fluent C# API

browser.GoTo(string url);


// The same navigation, with headless settings applied first

browser.Get(string url);

MagicHelper: MagicHelper utility library

browser.MagicHelper.GoTo(string url);

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.GoTo(string url).Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.GoTo(string url, string sessionId);

REST Client: Direct REST/HTTP client

browser.OttoMagicClient.WithEndpoint(ApiEndpoint.GoTo).WithUrl(string url).Execute();

💬 Ask GPAL