Selenium in Sikuli Scripts

Asked by Prateek Sahu

As Sikuli is not able to handle dynamic elements thats why I would like to use selenium with sikuli.

How can I use Selenium in between sikuli python script

I have configured sikuli in eclipse.
So how can I configure selenium also in eclipse.

Please note that I want to use selenium in sikuli scripts....
not sikuli in selenium scripts...

For example if during application flow there is a dynamic button which cannot be handled using sikuli image...So instead of sikuli I want to use Selenium to handle this dynamic button...

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

You have to make the selenium Python support libraries/modules available in your Eclipse Python Sikuli project according to the specifications of Selenium Python support.

In your script you need some
import selenium

and afterwards you can use the Selenium Python API according to the Selenium documentation.

Revision history for this message
Prateek Sahu (prateek-sahu01apr) said :
#2

I have already done this Raiman.

Now the problem is selenium always opens a new browser with new session ID

I want that selenium should work in existing browser on which the sikuli script is running.

Please help me...

Revision history for this message
RaiMan (raimund-hocke) said :
#3

Then you should first let Selenium open the browser window and then work with Sikuli on that.

Can you help with this problem?

Provide an answer of your own, or ask Prateek Sahu for more information if necessary.

To post a message you must log in.