Ngrok
You can test your local site by tunneling with ngrok so Diffy has access to it.
Set up ngrok
If you like, I can share with you Diffy's account for testing purposes. Once it works, you can purchase your Personal license yourself.
Create an account at https://ngrok.com/ and purchase the license
Install ngrok locally (for Mac, it is simple
brew install ngrok
)Populate auth code locally
ngrok config add-authtoken <your token>

DDEV setup
Now, you can expose your local site globally by running ddev share
For other environments, please check the documentation. Here is an article for Lando. For Docksal similar command fin share
(documentation).

Remember to copy the URL from ngrok.
Create custom screenshot with Diffy
Now, you can create screenshots from a custom environment. Specify the URL you got from ngrok.
Important notice: We can easily overload your local environment if you set the number of non-production workers to 5.

Last updated