We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cdc213 commit ddcd726Copy full SHA for ddcd726
javascript/puppeteer-proxy-integration-js/residential_random.js
@@ -32,11 +32,11 @@ const puppeteer = require('puppeteer');
32
password: 'PASSWORD'
33
});
34
35
- // This page simply returns the IP address
36
- await page.goto('https://ip.oxylabs.io/');
+ // This page returns the IP address and location details
+ await page.goto('https://ip.oxylabs.io/location');
37
38
// Print the response from the page
39
- // This will print the IP address of the proxy
+ // This will print the location details of the proxy
40
const extractedText = await page.$eval('*', (el) => el.innerText);
41
console.log(extractedText);
42
} catch (e) {
0 commit comments