What is Vercel Deployment Protection?
Vercel deployment protection helps secure your preview deployments by requiring authentication before users can access them. However, this can interfere with automated testing tools like Stably.Solutions
Vercel provides specific methods to bypass deployment protection for automation tools. You can configure bypass rules that allow automated testing while maintaining security for human users. Follow Vercel’s official documentation for setting up protection bypass for automation: Vercel Protection Bypass for Automation1. Custom Headers
You can configure Vercel to bypass protection when specific headers are present. In Stably:- Go to Browser Settings in your project configuration
- Add a custom header as specified in your Vercel bypass configuration (usually
x-vercel-protection-bypass
) - Run your tests to verify the bypass works
2. IP Allowlisting
If your Vercel configuration supports IP allowlisting, you can add Stably’s IP addresses to your allowlist. See our IP allowlist guide for the current IP ranges.Testing Your Configuration
After configuring the bypass:- Run a simple test against your protected Vercel deployment
- Verify that Stably can access the application without encountering protection screens
- Check that protection still works for regular browser access
Need Help?
If you’re still experiencing issues with Vercel deployment protection, please reach out to our support team with:- Your Vercel deployment configuration
- The specific error messages you’re seeing
- Screenshots of any protection screens encountered during testing