Skip to main content

Bypassing Cloudflare protection

Sometimes instead of screenshots from your Production environment you can get something like this:

Cloudflare blocking screenshots

This happens because of Cloudflare protection. The problem is that CDN recognize our bots as "Fake google bot". We do it on purpose in order not to affect your Google analytics.

 

Cloudflare log message

 

So what you need to do is you can change the User Agent back to mimic actual browser so it will allow creating screenshots. This can be done on Project's settings page:

 

Uncheck User Agent