percy / percy-selenium-java

Visual testing with Java Selenium and Percy
https://docs.percy.io/docs/java-selenium
MIT License
12 stars 17 forks source link

fix: Load `percy-agent.js` from `@percy/agent`'s server #44

Closed Robdel12 closed 5 years ago

Robdel12 commented 5 years ago

What is this?

Currently the Java SDK tries to load percy-agent.js from a locally bundled node_modules folder. This PR updates it so the SDK loads it from the @percy/agent server each time, so its the latest DOM library no matter what version the Java SDK is.

This matches the pattern in all of our other non JS SDKs.