Skip to content

Browser

Using the browser method you can open a webpage using your default browser.

Browse

You can access a URL using your default browser.

# Opens the default browser on the BotCity website.
bot.browse("https://botcity.dev")
// Opens the default browser on the BotCity website.
browse("https://botcity.dev");
// Opens the default browser on the BotCity website.
const desktopBot = new DesktopBot()
await desktopBot.browser('https://botcity.dev')
// Opens the default browser on the BotCity website.
const desktopBot: DesktopBot = new DesktopBot()
await desktopBot.browser('https://botcity.dev')