feat: Optional proxy autentication (#2143)
This commit is contained in:
parent
37724f6959
commit
d8fd457914
4 changed files with 15 additions and 3 deletions
|
|
@ -2,7 +2,11 @@ const { Client, Location, List, Buttons, LocalAuth } = require('./index');
|
|||
|
||||
const client = new Client({
|
||||
authStrategy: new LocalAuth(),
|
||||
puppeteer: { headless: false }
|
||||
// proxyAuthentication: { username: 'username', password: 'password' },
|
||||
puppeteer: {
|
||||
// args: ['--proxy-server=proxy-server-that-requires-authentication.example.com'],
|
||||
headless: false
|
||||
}
|
||||
});
|
||||
|
||||
client.initialize();
|
||||
|
|
|
|||
Loading…
Reference in a new issue