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

    <legend id='MBPQK'><style id='MBPQK'><dir id='MBPQK'><q id='MBPQK'></q></dir></style></legend>

        <bdo id='MBPQK'></bdo><ul id='MBPQK'></ul>
      <tfoot id='MBPQK'></tfoot>

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

    1. 用守夜人守望网络

      watch network with nightwatch(用守夜人守望网络)

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

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

                本文介绍了用守夜人守望网络的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我正在使用 nightwatch 来测试应用程序的前端.我正在测试某些按钮是否可点击.

                I'm using nightwatch to test the frontend of an application. I'm testing that some buttons are clickable or not.

                是否可以用nightwatch,知道是否有网络点击发出的请求,或者更一般地说,观看网络.

                Is it possible with nightwatch, to know if there was a network request made by the click, or more generally, to watch the network.

                推荐答案

                是的,你可以使用 https://www.npmjs.com/package/nightwatch-xhr 以监视来自 Nightwatch.js 的 Ajax 请求.

                Yes, you can use https://www.npmjs.com/package/nightwatch-xhr in order to watch for Ajax requests from Nightwatch.js.

                (我是维护者之一)

                这篇关于用守夜人守望网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                Pause youtube video, youtube api(暂停 youtube 视频,youtube api)
                Youtube iframe api not triggering onYouTubeIframeAPIReady(Youtube iframe api 未触发 onYouTubeIframeAPIReady)
                How can I stop a video with Javascript in Youtube?(如何在 Youtube 中停止使用 Javascript 的视频?)
                How to call Greasemonkey#39;s GM_ functions from code that must run in the target page scope?(如何从必须在目标页面范围内运行的代码中调用 Greasemonkey 的 GM_ 函数?)
                How do you mute an embedded Youtube player?(如何使嵌入式 Youtube 播放器静音?)
                How to get number of video views with YouTube API?(如何使用 YouTube API 获取视频观看次数?)

                1. <small id='XOtqP'></small><noframes id='XOtqP'>

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

                        <tbody id='XOtqP'></tbody>