Skip to main content

Launch Options for BrowserCloud

Session Timeout

Puppeteer / Playwright

By default session timeout is 30 seconds. You can set your value (in milliseconds) if it is needed for your script

// 60-second limit:
wss://chrome.browsercloud.io?token=TOKEN&timeout=60000

Selenium / Webdriver

const webdriver = require('selenium-webdriver');
const chromeCapabilities = webdriver.Capabilities.chrome();

// 60 second limit for session
chromeCapabilities.set('browsercloud.timeout', 60000);