Firefox (Legacy)
Headless Browser supports two specialized browser environments, one of which is Firefox. Please note this environment will be deprecated soon.
Connection details
wss://ubs.oxylabs.ioImportant considerations
Basic usage
from playwright.sync_api import sync_playwright
username = "your-username"
password = "your-password"
endpoint = "ubs.oxylabs.io"
browser_url = f"wss://{username}:{password}@{endpoint}"
with sync_playwright() as p:
browser = p.firefox.connect(browser_url, timeout=60000)
page = browser.new_page()
page.goto('https://example.com')
browser.close()const { firefox } = require('playwright');
(async () => {
const username = 'your-username';
const password = 'your-password';
const endpoint = 'ubs.oxylabs.io';
const browserUrl = `wss://${username}:${password}@${endpoint}`;
const browser = await firefox.connect(browserUrl, { timeout: 60000 });
const page = await browser.newPage();
await page.goto('https://example.com');
await browser.close();
})();United States proxy infrastructure
Country selection
Was this helpful?

