Selenium on Steroids
Selenium is widely used as a test automation framework for end-to-end testing of web applications. However, it can't intercept and modify network requests. But now you can simulate network conditions, modify headers, redirect network requests - all these and much more with the help of our Selenium package.

Application and use cases
These are some of the main features that you will find yourself using.
Throttle Network Request
Simulate network conditions in selenium with the help of our Delay Network Request.Read More

Modify Headers
Bypass authentication, set cookies by modifying header in selenium with the help of our Modify Headers Request.

Insert Scripts
Inject popular libraries or hosted scripts or execute custom code-snippet before or after page load using our Insert Scripts Rule.

Cancel Requests
Cancel or block specific network requests in your test environment without affecting the entire network using our Cancel Request Rule.

Use Boilerplate Code (Takes Less than a min)
Turn yourself into a Testing Ninja by using our short and concise selenium + requestly boilerplate code.
User our web interface or desktop app to create rules(no-coding required). Put in your shared list url and you're good to go ⚡!
// npm install selenium-webdriver @requestly/selenium
require("chromedriver"); // replace this with your browser driver
const { Builder } = require("selenium-webdriver");
const chrome = require("selenium-webdriver/chrome");
const {
getRequestlyExtension,
importRequestlySharedList,
} = require("@requestly/selenium");
const sharedListUrl = "YOUR SHARED LIST URL";
async function runSeleniumWithRequestly() {
const options = new chrome.Options().addExtensions(
getRequestlyExtension("chrome") // This installs requestly chrome extension in your testing instance
);
const driver = new Builder()
.forBrowser("chrome") // replace this with your browser
.setChromeOptions(options)
.build();
await importRequestlySharedList(driver, sharedListUrl); // Here we import the shared list created from our app
driver.get("http://www.google.com/"); // replace this with your test destination
}
runSeleniumWithRequestly();
Additional Resources
Modifying Headers In HTTP(s) Requests In UI Automation Testing
Modify headers - bypass authentication, set cookies and more with Requestly's npm package for Selenium.
View articleFeatured in Smashing MagazineAutomate Network Testing via Selenium
Ever wondered how you can control network condition for specific requests in your testing environment ? Look no further, we've got you covered. Learn more in the article.
View articleMore Awesome Features
Requestly packs many more awesome features to debug network requests.
Redirect URLs (Map Remote)
Redirect a request URL (or matching pattern) to another URL.
Block Network Requests
Block requests, websites by specifying keywords or entire URL
Modify HTTP(s) Request & Response Headers
Add, Delete, Replace Request & Response Headers.
Modify Response
This Rule allows you to Mock the Response Body of the AJAX Request
Cross Device Testing
Check how your site looks on multiple devices, browsers, dimensions etc
Insert Custom Scripts
Allows you to automate, scrape & change webpage's behaviour with little knowledge of JS & CSS.
Modify Query Params
Insert, Modify or Delete query parameters for URLs (or matching pattern)
Delay Request Rule
Delay requests by specifying keywords or entire URL
Mock Server
Edit Content-Type, Status Code, and Body of the Response on our Server.
Get to know Requestly
Become a 10x developer by using Requestly in your development & testing workflows.