Releases: matmanjs/matman
Releases · matmanjs/matman
v6.0.17
12 Aug 08:56
Compare
Sorry, something went wrong.
No results found
如果传入了 process.env.SHOW_BROWSER === '1',则强制修改 pageDriverOpts.show 为 true,可用于调试。建议搭配 cross-env 使用,例如: cross-env SHOW_BROWSER=0 node tmp.js 。
v6.0.15
22 Jul 00:58
Compare
Sorry, something went wrong.
No results found
无法动态切换 mockstar 的数据源 #217
使用方式 await pageDriver.changeMockstar(queryMap), 例如
await pageDriver.addAction('clickVerifyBtn2', async (page) => {
await pageDriver.changeMockstar({ 'get_tenpay_auth_info': 'success' });
await page.click('#verify-btn');
await page.waitFor(500);
});
v6.0.14
20 Jul 04:58
Compare
Sorry, something went wrong.
No results found
MatmanResult 添加一个方法 isExistConsole(partialText: string | RegExp, type?: string, isFullMatch?: boolean) 用于查找 console 输出的文本
将符合一定格式的 console 输出添加到 URL 队列,例如[e2e]tnow://xxxxx 则将识别出 tnow://xxxxx
v6.0.13
18 Jul 14:00
Compare
Sorry, something went wrong.
No results found
修复了 isExistXHR 方法不支持 post 请求的 bug # 148
修复了 https 请求可能报错的问题
v6.0.11
16 Jul 13:29
Compare
Sorry, something went wrong.
No results found
修复:导航之后 puppeteer 上下文被销毁导致报错 #201
v6.0.7
14 Jul 15:39
Compare
Sorry, something went wrong.
No results found
cookie不匹配问题
截屏参数未传递问题
可选参数未自动设置问题
配置缺失问题
增加默认截取全屏功能
修复拦截请求时content-type绝对匹配问题
v6.0.6
11 Jul 15:48
Compare
Sorry, something went wrong.
No results found
v6.0.4
01 Jul 01:23
Compare
Sorry, something went wrong.
No results found
修复了 puppeteer 中使用 mockstar 的一些问题
修复了:爬虫脚本中如果引入 npm 包则会报错 #195
修复了:设置 crawlerInjectJQuery=true 时,evaluate 中如果直接传入函数,则会报错,但文件是可以 #196
v3.0.11
19 Jul 17:15
Compare
Sorry, something went wrong.
No results found
修复了 mock server 自动热重启失效的问题 #119
修复了首次运行 matman-cli 时会报错 file already exists 的问题 #121
建议:
请升级 matman-cli 到 v3.0.11 版本,如果升级遇到权限问题,请使用 sudo tnpm install matman-cli -g --unsafe-perm=true --allow-root 命令。
v2.1.4
02 Jul 15:18
Compare
Sorry, something went wrong.
No results found