Skip to main content
Transform your testing process with: Company-wide Licences, Test Observability & App Percy

Browser Specific Handling

Learn the details specific to browsers

Localhost proxy support on Safari

Percy currently does not support localhost proxying on Safari browser. If you have any resource link in your DOM snapshot that looks like localhost:<port>/resource, even though it is captured via SDK, it does not load on Safari browser. Safari browser does not forward localhost domain to proxy and tries to resolve it directly.

The workaround for this would be to use anything other than localhost as domain name.
Some of the suggestions are listed below:

  • Use relative path for resources in html
  • Use a public DNS entry that resolves to 127.0.0.1 (Example: localtest.me or domaincontrol.com or you can create one on your own)
  • Use a hosts file entry for a custom domain that resolves to 127.0.0.1 (Example: add 127.0.0.1 mylocalsite.dev etc )

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Download Copy