dojo/robotx

Contents

Loads an external application into an iframe and points dojo/_base/window::doc to the iframe document, allowing the robot to control it.

Features

  • initRobot()

    Opens the application at the specified URL for testing, redirecting dojo to point to the application environment instead of the test environment.

  • waitForPageToLoad()

    Notifies DOH that the doh.robot is about to make a page change in the application it is driving, returning a doh.Deferred object the user should return in their runTest function as part of a DOH test.