How to use SikuliFirefoxdriver

998 views
Skip to first unread message

pratika

unread,
Jan 31, 2013, 5:39:04 AM1/31/13
to webd...@googlegroups.com
Hi all

I need to integrate Sikulil with webdriver 
I read the following article  
but not able to understand how to import this in my prog.....\
Any help will be appreciated

Krishnan Mahadevan

unread,
Jan 31, 2013, 7:49:00 AM1/31/13
to webd...@googlegroups.com
Start off by creating a maven project or refer to the pom file as detailed here : https://github.com/Ardesco/Selenium-Maven-Template
add up SikuliWebDriver as a dependency and start working with it.

PS: I would suggest that you please spend sometime trying to understand the basics of Maven as a build tool so that most of the further questions that you may have are self answered.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/


--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at http://groups.google.com/group/webdriver?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Prithvi Raj

unread,
Jan 31, 2013, 8:39:38 AM1/31/13
to webd...@googlegroups.com
Hi Krishanan,

I have used SikuliWebDriver class and having added the Sikuli WebDriver jar 1.0.1 jar. I keep getting this error while I am trying to interact with an image in Firefox.

This is the below error I encounter, please advise

Exception in thread "main" java.lang.NoClassDefFoundError: org/sikuli/api/Screen
and it shows the error is at this line SikuliFirefoxDriver driver = new SikuliFirefoxDriver();

It did import this packages while writing the code:

import org.sikuli.webdriver.ImageElement;
import org.sikuli.webdriver.SikuliFirefoxDriver;

Thanks

Prithvi

pratika

unread,
Feb 1, 2013, 12:28:02 AM2/1/13
to webd...@googlegroups.com
Hi Raj

Can you provide me link where you found Sikulifirefoxdriver jar file .........

pratika

unread,
Feb 1, 2013, 12:29:11 AM2/1/13
to webd...@googlegroups.com
Thanks for your guidance I will start work on it....

Prithvi Raj

unread,
Feb 1, 2013, 6:20:29 AM2/1/13
to webd...@googlegroups.com
Hi Pratika,

As Krishnan pointed out, its in Maven Repository. Here is the link if you cant find one:

http://mvnrepository.com/artifact/org.sikuli/sikuli-webdriver

Krishnan - I cannot execute the script using SikuliFirefoxDriver. Is this a stable release or some issues, please advise?

Thanks

Prithvi

Krishnan Mahadevan

unread,
Feb 3, 2013, 9:23:32 AM2/3/13
to webd...@googlegroups.com
Prithviraj,
That would be a question that you would need to ask the maintainers of sikuli-webdriver. I wouldn't be the right person to answer that.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

webdriverHelp

unread,
May 22, 2013, 4:38:18 PM5/22/13
to webd...@googlegroups.com
Hi Raj,

I am also facing the same issue.. Were u able to resolve this issue. Any help would be greatly appreciated.

SreeRama

unread,
Nov 4, 2013, 1:41:46 AM11/4/13
to webd...@googlegroups.com
Hello,

I disabled POM and manually added the required jars in the classpath (or build-path in my IDE) and it works, compiles and executes the sample program.

armate arjun

unread,
Jul 13, 2015, 2:20:12 PM7/13/15
to webd...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages