Currently Marathon and MarathonITE support ruby scripting language for recording scripts. You can use any ruby gems (supported by JRuby) within your scripts to perform custom operations.
Internally, Marathon uses Selenium/WebDriver bindings to record and replay test scripts on Java applications. For this purpose,
Marathon includes JavaDriver – Selenium/WebDriver for Java applications. Since, Marathon uses Selenium bindings, you
can also use
selenium/webdriver ruby bindings in your scripts. JavaDriver implements a subset of
findBy strategies that can be used to access components on the UI.