Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojo/robot.js

  • Provides:

    • dojo.robot
  • Requires:

    • doh.robot in common
    • dojo.window in common
  • doh.robot._resolveNode

    • parameters:
      • n: (typeof String||DOMNode||Function)
    • type
      Function
  • doh.robot._scrollIntoView

    • parameters:
      • n: (typeof Node)
    • type
      Function
  • doh.robot._position

    • parameters:
      • n: (typeof Node)
    • type
      Function
  • doh.robot._getWindowChain

    • parameters:
      • n: (typeof Node)
    • type
      Function
  • doh.robot.scrollIntoView

    • parameters:
      • node: (typeof String||DOMNode||Function)
        The id of the node, or the node itself, to move the mouse to.
        If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.
        This is useful if you need to move the mouse to an node that is not yet present.
      • delay: (typeof Number,)
        Delay, in milliseconds, to wait before firing.
        The delay is a delta with respect to the previous automation call.
    • summary
      Scroll the passed node into view, if it is not.
    • type
      Function
  • doh.robot.mouseMoveAt

    • parameters:
      • node: (typeof String||DOMNode||Function)
        The id of the node, or the node itself, to move the mouse to.
        If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes.
        This is useful if you need to move the mouse to an node that is not yet present.
      • delay: (typeof Integer,)
        Delay, in milliseconds, to wait before firing.
        The delay is a delta with respect to the previous automation call.
        For example, the following code ends after 600ms:
        doh.robot.mouseClick({left:true}, 100) // first call; wait 100ms
        doh.robot.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all
      • duration: (typeof Integer,)
        Approximate time Robot will spend moving the mouse
        The default is 100ms.
      • offsetX: (typeof Number,)
        x offset relative to the node, in pixels, to move the mouse. The default is half the node's width.
      • offsetY: (typeof Number,)
        y offset relative to the node, in pixels, to move the mouse. The default is half the node's height.
    • summary
      Moves the mouse over the specified node at the specified relative x,y offset.
    • description
      Moves the mouse over the specified node at the specified relative x,y offset.
      If you do not specify an offset, mouseMove will default to move to the middle of the node.
      Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode);
    • type
      Function
  • dojo.robot

    • type
      Object
  • dojo

    • type
      Object