I'm currently diving into Selenium WebDriver and teaching myself how to use it with JavaScript. My current challenge is trying to launch the Firefox browser.
Here are the specs of my machine:
- Operating System: Windows 7 64-bit
- Processor: i5 Processor
- RAM: 8GB
- IDE: Eclipse Java EE IDE for Web Developers
Unfortunately, I've encountered an error and am unable to attach a screenshot. Here's the description:
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Function
at BrowserInvocation.main(BrowserInvocation.java:8)
Caused by: java.lang.ClassNotFoundException: com.google.common.base.Function
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more
If anyone could lend some assistance, that would be greatly appreciated.