I might be missing something, but in every example I've inspected, JavascriptExecutor interface was imported simply by adding
import org.openqa.selenium.JavascriptExecutor
For some reason, it doesn't seem to work for me. When I try that, I receive this error:
ImportError: No module named org.openqa.selenium.JavascriptExecutor
Does anyone know how to solve it? I'd be profoundly thankful.