Selenium/WebDriver Bindings

Power of Selenium in your scripts.

Selenium/WebDriver Bindings

Not a wrapper or a library

MarathonITE uses marathon java drivers which are part of our open source version that implements Selenium JsonWireProtocol – the protocol used by WebDriver to communication with remote instances. Testers who are familiar with Selenium/WebDriver can take advantage of this integration.


Extend your scripts

There are things that you can accomplish with WebDriver bindings, that is though possible, is cumbersome to perform using MarathonITE. For example, the following script checks that all the text fields within a window contain tooltips attached to them.

You can use MarathonITE script elements and web driver calls together

MarathonITE itself internally uses WebDriver calls to implement script elements like select and click. MarathonITE‘s get_component returns a WebElement and the web driver instance is available as driver within the script. You can intermix both MarathonITE and WebDriver calls within a single script.

Use CSS to find elements within the application window

MarathonITE implements a CSS finder. You can use WebDriver’s find_element(s) call to quickly find a component in the application. MarathonITE maps name and id to component’s name (set through java.wt.Component#setName method) and tag name is mapped to a modified class name of the component. For example, JTextField has a tag name text-field.

MarathonITE CSS support