Cannot access org.openqa.selenium.interactions.HasInputDevices in Java 8.2 with Selenium 4

Might be similar to this:

I had the same issue with the same java-client version(8.2.0) and updating to java-client 8.3.0 did the job.