When working with Selenium, sometimes you will find yourself stuck trying to access a particular element of the page and unable to script any further (this can often be a problem when working with a page that has iframes or links that trigger JavaScript events).

A fix for this is to call Sikuli from within your Selenium script, have it get through the part where you are stuck (by scripting out that part in Sikuli), and then continue scripting in Selenium.

Call Sikuli in your script by following this pattern (the following solution is formatted for bash style shells and includes &> to output the logging information to a separate file):