src/aria/jsunit/RobotJavaSelenium.js
function (cb) {
            if (!this._robot) {
                this._robot = Aria.$frameworkWindow.top.SeleniumJavaRobot;
                this._robot.getOffset({
                    fn : this._offsetReceived,
                    scope : this
                });
            }
            if (cb) {
                if (this._robotInitialized) {
                    this.$callback(cb);
                } else {
                    this.$onOnce({
                        "robotInitialized" : cb
                    });
                }
            }
        }
function (cb) {
            if (!this._robot) {
                this._robot = Aria.$frameworkWindow.top.SeleniumJavaRobot;
                this._robot.getOffset({
                    fn : this._offsetReceived,
                    scope : this
                });
            }
            if (cb) {
                if (this._robotInitialized) {
                    this.$callback(cb);
                } else {
                    this.$onOnce({
                        "robotInitialized" : cb
                    });
                }
            }
        }
function ( cb ) { if ( ! this . _robot ) { this . _robot = Aria . $frameworkWindow . top . SeleniumJavaRobot ; this . _robot . getOffset ( { fn : this . _offsetReceived , scope : this } ) ; } if ( cb ) { if ( this . _robotInitialized ) { this . $callback ( cb ) ; } else { this . $onOnce ( { "robotInitialized" : cb } ) ; } } }
Initialize the robot, if not already done. This must be called before any other method on the robot.
@param {aria.core.CfgBeans:Callback} callback callback to be called when the robot is ready to be used.
Initialize the robot if not already done . This must be called before any other method on the robot .