nightwatchjs --Expect element to not include text
摘要:to have NightWatch to find text in a div. But how do I tell NightWatch to expect not to find text in an element? .before(ms) / .after(ms) 在指定时间前或者后重新执
阅读全文
posted @
2018-01-31 13:57
清明-心若淡定
阅读(191)
推荐(0)
Iterating elements using NightWatchJS
摘要:1) used the following strategy to iterate over DOM elements using Nightwatch: 2) the number returned by allitems.value[0].ELEMENT will work as the id.
阅读全文
posted @
2018-01-30 11:37
清明-心若淡定
阅读(523)
推荐(0)
nightwatch 切换窗口
摘要:.switchWindow() Change focus to another window. The window to change focus to may be specified by its server assigned window handle, or by the value o
阅读全文
posted @
2018-01-29 12:55
清明-心若淡定
阅读(388)
推荐(0)
nodejs读取配置文件
摘要:INI.js(模块) conf.ini: 实际调用实例:
阅读全文
posted @
2018-01-25 16:47
清明-心若淡定
阅读(6702)
推荐(0)
Node.js 回调函数
摘要:一、Node.js 回调函数: Node.js 异步编程的直接体现就是回调。 异步编程依托于回调来实现,但不能说使用了回调后程序就异步化了.回调函数在完成任务后就会被调用,Node 使用了大量的回调函数,Node 所有 API 都支持回调函数。 例如,我们可以一边读取文件,一边执行其他命令,在文件读
阅读全文
posted @
2018-01-25 09:53
清明-心若淡定
阅读(281)
推荐(0)
git 学习
摘要:Git的下载和安装 我们都知道使用一个软件之前,我们需要下载和安装。Git是可以兼容多个平台的,如:Windows、Mac、Linux、Solaris。在这里,我们针对Windows下的Git来学习。 下载链接:官网下载、百度云下载 安装说明:双击exe文件,一直下一步即可。安装完成后,会在开始菜单
阅读全文
posted @
2018-01-22 11:14
清明-心若淡定
阅读(229)
推荐(0)