<tfoot id='MXtx9'></tfoot>
      <bdo id='MXtx9'></bdo><ul id='MXtx9'></ul>
    <i id='MXtx9'><tr id='MXtx9'><dt id='MXtx9'><q id='MXtx9'><span id='MXtx9'><b id='MXtx9'><form id='MXtx9'><ins id='MXtx9'></ins><ul id='MXtx9'></ul><sub id='MXtx9'></sub></form><legend id='MXtx9'></legend><bdo id='MXtx9'><pre id='MXtx9'><center id='MXtx9'></center></pre></bdo></b><th id='MXtx9'></th></span></q></dt></tr></i><div id='MXtx9'><tfoot id='MXtx9'></tfoot><dl id='MXtx9'><fieldset id='MXtx9'></fieldset></dl></div>
  • <legend id='MXtx9'><style id='MXtx9'><dir id='MXtx9'><q id='MXtx9'></q></dir></style></legend>

      <small id='MXtx9'></small><noframes id='MXtx9'>

        如何让量角器按回车键?

        时间:2023-06-15

            <bdo id='0HVHt'></bdo><ul id='0HVHt'></ul>
              <tbody id='0HVHt'></tbody>
          • <tfoot id='0HVHt'></tfoot>
          • <legend id='0HVHt'><style id='0HVHt'><dir id='0HVHt'><q id='0HVHt'></q></dir></style></legend>
                <i id='0HVHt'><tr id='0HVHt'><dt id='0HVHt'><q id='0HVHt'><span id='0HVHt'><b id='0HVHt'><form id='0HVHt'><ins id='0HVHt'></ins><ul id='0HVHt'></ul><sub id='0HVHt'></sub></form><legend id='0HVHt'></legend><bdo id='0HVHt'><pre id='0HVHt'><center id='0HVHt'></center></pre></bdo></b><th id='0HVHt'></th></span></q></dt></tr></i><div id='0HVHt'><tfoot id='0HVHt'></tfoot><dl id='0HVHt'><fieldset id='0HVHt'></fieldset></dl></div>

                <small id='0HVHt'></small><noframes id='0HVHt'>

                  本文介绍了如何让量角器按回车键?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我试过了:

                  browser.actions().keyDown(protractor.Key.ENTER).keyUp(protractor.Key.Enter).perform();
                  

                  给出错误:

                  Error: Not a modifier key
                  

                  推荐答案

                  Keyup/Keydown 仅限于 WebDriver 中的修饰键(shift、ctrl 等).我想你想要

                  Keyup/Keydown is limited to modifier keys in WebDriver (shift, ctrl, etc). I think you want

                  browser.actions().sendKeys(protractor.Key.ENTER).perform();

                  这篇关于如何让量角器按回车键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何从量角器测试发出 POST 请求? 下一篇:断言元素被聚焦

                  相关文章

                    <i id='24tH3'><tr id='24tH3'><dt id='24tH3'><q id='24tH3'><span id='24tH3'><b id='24tH3'><form id='24tH3'><ins id='24tH3'></ins><ul id='24tH3'></ul><sub id='24tH3'></sub></form><legend id='24tH3'></legend><bdo id='24tH3'><pre id='24tH3'><center id='24tH3'></center></pre></bdo></b><th id='24tH3'></th></span></q></dt></tr></i><div id='24tH3'><tfoot id='24tH3'></tfoot><dl id='24tH3'><fieldset id='24tH3'></fieldset></dl></div>

                    1. <legend id='24tH3'><style id='24tH3'><dir id='24tH3'><q id='24tH3'></q></dir></style></legend>
                      • <bdo id='24tH3'></bdo><ul id='24tH3'></ul>

                    2. <small id='24tH3'></small><noframes id='24tH3'>

                      <tfoot id='24tH3'></tfoot>