You can put ScraperAPI behind Selenium by routing Selenium traffic through its proxy: use selenium-wire and set the proxy to proxy-server.scraperapi.com on port 8001 - username 'scraperapi', your API key as the password - passed via seleniumwire_options at driver creation. That way the whole browser session inherits ScraperAPI's proxy rotation and IP handling, instead of only getting it for direct API requests.

Context: Stack Overflow (ScraperAPI with Python Selenium, accepted answer): route ScraperAPI through Selenium using selenium-wire's proxy options - the proxy server is proxy-server.scraperapi.com on port 8001, with 'scraperapi' as the username and your API key as the password. Pass it via seleniumwire_options when creating the Chrome driver. This is the pattern when the target needs a real browser session behind ScraperAPI's rotating proxies.