Skip to content

Proxy Error #16

@Mkopl360

Description

@Mkopl360

i'm using a valid proxy but still gettign InvalidProxy [Error]: Failed to connect to proxy.
its bug or something else ?
Also its possible to use different browser profile or only can define OS (and its only support Firefox profile)
code example:

import { Camoufox } from 'camoufox-js';

async function main() {
    const browser = await Camoufox({
        os: 'windows',
        headless: false,
        geoip: true,
        proxy: {            
          server: 'IP:PORT',
          username: 'fd75-time-30-session-y5f',
          password: '2882'
      }
    });
    const page = await browser.newPage();
    
    await page.goto('https://browserscan.net/');
}

main().catch(console.error);

Metadata

Metadata

Assignees

No one assigned

    Labels

    t-toolingIssues with this label are in the ownership of the tooling team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions