{"repo":"percy/percy-selenium-java","free":true,"listed":false,"github":"https://github.com/percy/percy-selenium-java","clone":"git clone https://github.com/percy/percy-selenium-java.git","description":"Visual testing with Java Selenium and Percy","language":"Java","stars":13,"topics":["selenium","java","percy","visual-testing","visual-regression-testing","visual-tests","percy-agent","percy-sdk"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"percy-java-selenium Percy visual testing for Java Selenium. Development Install/update @percy/cli dev dependency (requires Node 14+): Install maven: Run tests: Installation npm install @percy/cli : Add percy-java-selenium to your project dependencies. If you're using Maven: If you're using a different build system, see https://search.maven.org/artifact/io.percy/percy-java-selenium for details for your specific system. Usage This is an example test using the percy.snapshot function. Running the test above normally will result in the following log: When running with percy exec , and your project's PERCY TOKEN , a new Percy build will be created and snapshots will be uploaded to your project. Configuration The snapshot method arguments: percy.snapshot(name, widths[], minHeight, enableJavaScript, percyCSS, scope, sync, responsiveSnapshotCapture) - name ( required ) - The snapshot name; must be unique to each snapshot - Additional snapshot options (overrides any project options): - widths - An array of widths to take screenshots at - minHeight - The minimum viewport height to take screenshots at - enableJavaScript - Enable JavaScript in Percy's rendering environment - percyCSS - Percy specific CSS only applied in Percy's rendering environment - scope - A CSS selector to scope the screenshot to - sync - For getting syncronous results https://www.browserstack.com/docs/percy/advanced/sync-comparison-results - responsiveSnapshotCapture - For capturing snapshot of responsive websites U","default_branch":null,"files":null,"tree":[],"storefront":"/r/percy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/percy/percy-selenium-java/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}