Selenium Proxy Integration

Combining Selenium with Bright Data proxies boosts your web scraping efficiency, offering secure and flexible proxy management for reliable data extraction.

This guide may be outdated. For an up-to-date guide please see our documentation.

  • 400M+ Residential IPs
  • Sticky and rotating sessions
  • 99.95% success rate
  • Geo-location targeting - FREE
selenium proxy integration image

Scraping Browser: Fully Hosted with Advanced Unlocking Capabilities

Selenium Compatible
Easily make an API call to fetch any number of browser sessions and interact with them using our Selenium Scraping Browser over a CDP protocol. Ideal for scraping projects that require website interactions to retrieve data, like hovering over a page, clicking buttons, scrolling, adding text, etc.

      const { Builder, Browser } = require('selenium-webdriver');
const {
    AUTH = 'USER:PASS',
    TARGET_URL = 'https://example.com',
} = process.env;

async function scrape(url = TARGET_URL) {
    if (AUTH == 'USER:PASS') {
        throw new Error(`Provide Scraping Browsers credentials in AUTH`
            + ` environment variable or update the script.`);
    }
    console.log(`Connecting to Browser...`);
    const server = `https://${AUTH}@brd.superproxy.io:9515`;
    const driver = await new Builder()
        .forBrowser(Browser.CHROME)
        .usingServer(server)
        .build();
    try {
        console.log(`Connected! Navigating to ${url}...`);
        await driver.get(url);
        console.log(`Navigated! Scraping page content...`);
        const data = await driver.getPageSource();
        console.log(`Scraped! Data: ${data}`);
    } finally {
        await driver.quit();
    }
}

if (require.main == module) {
    scrape().catch(error => {
        console.error(error.stack || error.message || error);
        process.exit(1);
    });
}
    

Using Bright Data Proxies with Your Selenium-Powered Browser

Easily integrate Bright Data’s robust proxy networks into your Selenium scripts for unmatched reliability and scale. Power your automated browser tests and data collection with residential, data center, or mobile proxies, ensuring seamless, efficient access worldwide.

What is Selenium?

Selenium is an advanced browser automation software used to simulate browsing environments for the most accurate website testing and more, similar to Puppeteer. Take your online operations to the next level by integrating Selenium with the super proxy servers from Bright Data.

⚠️Important note: If you are using Bright Data’s Residential Proxies, Web Unlocker or SERP API, you need to install an SSL certificate to enable end-to-end secure connections to your target website(s). This is a simple process, see https://docs.brightdata.com/general/account/ssl-certificate#installation-of-the-ssl-certificate for instructions.

Get proxies for Selenium

Powered by an award-winning proxy infrastructure

Over 400 million residential IPs, best-in-class technology and the ability to target any country, city, ZIP Code, carrier, & ASN make our premium proxy services a top choice for developers.

Proxy Network Pricing

    50% OFF
    PAY AS YOU GO
    $8$4/GB
    No commitment
    Start now
    Use this coupon code: RESIGB50
    Use our proxies without monthly commitment
    50% OFF
    141 GB Included
    $7$4/GB
    $499 Billed monthly
    Start now
    Use this coupon code: RESIGB50
    Perfect for small businesses with moderate usage
    50% OFF
    332 GB Included
    $6$3/GB
    $999 Billed monthly
    Start now
    Use this coupon code: RESIGB50
    Designed for large teams with extensive operational needs
    50% OFF
    798 GB Included
    $5$3/GB
    $1,999 Billed monthly
    Start now
    Use this coupon code: RESIGB50
    Optimized for enterprises running large-scale operations
    Prices shown are estimates in local currency for reference only. Actual charges will be calculated and billed in USD based on the exchange rate at the time of the transaction. Bright Data is not liable for any foreign exchange differences. USD pricing is binding, local currency amounts are indicative only.
    Need more than 1 TB?
    Contact us
    • Unlimited scale
    • Unlimited seats
    • Premium SLA
    • 99.99% Network Uptime
    • Free Proxy Manager
    • Complete data coverage
    • Custom price per GB
    • Custom solutions
    We accept these payment methods:
    AWS logoUsing AWS? You can now pay through the AWS Marketplace
    Get started

    The category leader in proxies and data collection

    650TB of public data collected every day

    New feature releases every day

    Serving 7/10 of the world’s leading universities

    4.6/5 Trustpilot rating

    The best customer experience in the industry

    You ask, we develop

    New feature releases every day

    24/7 global support

    To answer any questions right when you need it

    Full transparency

    Real-time network performance dashboard

    Dedicated Account Managers

    To optimize your performance

    Tailored solutions

    To meet your data collection goals

    Ready to get Selenium proxies?