Playwright
Last updated
Was this helpful?
Last updated
Was this helpful?
is a Node.js library that lets you script and automates browsers using the same API, like Chrome, Firefox, and Safari. It is a convenient framework for automation and testing purposes.
To integrate Playwright with Oxylabs , follow the steps below:
Step 1. Install Node.js and a code editor of your choice. (Skip this step If you already have it)
Step 2. Create a Node.js project and install the required packages.
Step 3. Within Playwright, fill in the 'proxy'
values:
Server: 'http://pr.oxylabs.io:7777'
Username: 'Oxylabs' proxy user username'
Password: 'Oxylabs' proxy user password'
An example of a code looks like this:
And that's it! You've successfully integrated Oxylabs Mobile Proxies with Playwright.
If you want to learn more about web scraping with Playwright, read our .
Find the original Playwright integration blog post .