Skip to content
hekra01 edited this page Jun 17, 2015 · 3 revisions
  • Manage key auto repeat: https://github.com/cisco-open-source/qtwebdriver/issues/9

    When processing:

    • /session/:sessionId/keys
    • /session/:sessionId/element/:id/value

    For each sequence of similar keys in the value, WD will generate QKeyEvents with the isAutoRepeatthe next events

    • first KeyPress event isAutoRepeat = false
    • last KeyRelease event isAutoRepeat = false
    • all intermediary events isAutoRepeat = true
    • E.G: This python test code elem.send_keys(Keys.UP + Keys.UP)will generate
      • Event 1: type = press, code = UP, isAutoRepeat = false
      • Event 2: type = release, code = UP, isAutoRepeat = true
      • Event 3: type = press, code = UP, isAutoRepeat = true
      • Event 4: type = release, code = UP, isAutoRepeat = false
  • Undefined keys: https://github.com/cisco-open-source/qtwebdriver/issues/11

    When processing key codes with:

Clone this wiki locally