WebDriverBacked Selenium

4,004 views
Skip to first unread message

ravi krishna

unread,
Jul 9, 2010, 5:01:35 AM7/9/10
to seleniu...@googlegroups.com
Hi,
can some one please xplain me how to use web driver backed selenium.?? I used the following code and imported "org.openqa.selenium.WebDriverBackedSelenium;"

         WebDriver driver = new InternetExplorerDriver();
        Selenium selenium = new WebDriverBackedSelenium(driver, "http://gwt.google.com/samples/Showcase/Showcase.html#CwTree");

I get the following error in eclipse..

"The type com.google.common.base.Supplier cannot be resolved. It is indirectly referenced from required .class files"

I added all xternal jars from selenium-server and selenium-java..

Please help..

Thanks,
Ravi

ravi krishna

unread,
Jul 9, 2010, 5:34:05 AM7/9/10
to seleniu...@googlegroups.com
That was a problem with eclipse.. it couldn't take the jar file properly.. Now its working fine..

Martin

unread,
Feb 21, 2013, 5:12:01 PM2/21/13
to seleniu...@googlegroups.com, ravik...@gmail.com
Although Ravi has resolved this issue, but there is no solution posted.  I have encountered this issue as well, and I resolved it by explicitly adding the external JAR of "guava" as a part of Libraries on the Java Build Path on Eclipse.   What is "guava" jar file exactly? I do not know, but I do know where to find it: it is located under the /libs folder of the Selenium main directory. (In my case, it's C:\Program Files\selenium-2.30.0\libs)

virginia chettiar

unread,
Aug 14, 2013, 2:58:54 AM8/14/13
to seleniu...@googlegroups.com, ravik...@gmail.com

Thanks Martin .. Worked for me as well .. But still even I wanted to know what does the Guava Jar File do??

Thanks,
Virginia

Shiva Prasad Seelam

unread,
Nov 26, 2015, 5:16:48 AM11/26/15
to Selenium Users, ravik...@gmail.com
Thanks Martin, it worked.
Reply all
Reply to author
Forward
0 new messages