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: Update `WrapsDriver` class import #62

Closed Robdel12 closed 4 years ago

Robdel12 commented 4 years ago

What is this?

This has been a fun error to chase down. The TL;DR of the issue is in 3.14.x of the selenium package the import to WrapsDriver is org.openqa.selenium: https://www.javadoc.io/doc/org.seleniumhq.selenium/selenium-api/3.14.0/org/openqa/selenium/internal/WrapsDriver.html

Prior to that, the import was org.openqa.selenium.internal. This PR moves the import to the now 'deprecated' import (since it works across all selenium current 3.x versions): https://www.javadoc.io/doc/org.seleniumhq.selenium/selenium-api/3.13.0/org/openqa/selenium/internal/WrapsDriver.html