ffejrekaburb
ffejrekaburb

Reputation: 731

Sikuli IDE Error - javax.script.ScriptException " is not defined in nashorn:mozilla_compat.js at line number 69

I'm working on a simple Sikuli Script.

The script is simply one line shown below

click(enter image description here)

The following error is produced?

javax.script.ScriptException: ReferenceError: "Commands" is not defined in nashorn:mozilla_compat.js at line number 69

I believe I have all dependencies installed. Could I ask for some assistance for what else is missing to move on from this error?

Upvotes: 0

Views: 1759

Answers (1)

Kaio Diniz
Kaio Diniz

Reputation: 11

You are trying to use the commands in javascript mode. Do the following: create a new tab, right click on it, select "set type" and choose "jython". Your code should now work.

Upvotes: 1

Related Questions