<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'>

        如何让量角器按回车键?

        How to make protractor press the enter key?(如何让量角器按回车键?)

            <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();

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

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  What are valid deviceNames for Chrome emulation testing with Protractor?(使用 Protractor 进行 Chrome 模拟测试的有效设备名称是什么?)
                  Protractor Check if Element Does Not Exist(量角器检查元素是否不存在)
                  Protractor e2e Tests Login Redirection(Protractor e2e 测试登录重定向)
                  Explain about async/ await in Protractor(解释 Protractor 中的 async/await)
                  Protractor browser.wait doesn#39;t wait(量角器 browser.wait 不等待)
                  How to use Protractor with Angular 2?(如何在 Angular 2 中使用量角器?)
                        <tbody id='24tH3'></tbody>
                      <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>

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

                          • <small id='24tH3'></small><noframes id='24tH3'>

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