Comments (4)
TODO:
- 浏览器重启的时间间隔
- thrill 自定义要测试的浏览器
from totoro.
- 浏览器重启的时间间隔,也可以说是闲置超时。
在启动 hub 的 hub.json 中配置
{
"host": "localhost",
"port": 4444,
"newSessionWaitTimeout": -1,
"servlets" : [],
"prioritizer": null,
"capabilityMatcher": "org.openqa.grid.internal.utils.DefaultCapabilityMatcher",
"throwOnCapabilityNotPresent": true,
"nodePolling": 5000,
"cleanUpCycle": 5000,
"timeout": 30000,
"browserTimeout": 0,
"maxSession": 5
}
from totoro.
今天看了沉鱼的演示,感觉我们正在朝着正确的方向上前行
踏下心来努力去做好做精
很相信我们能在前端测试领域做出一番不一样的事情来
新年快乐。
On Thu, Feb 7, 2013 at 4:15 PM, hui.kang [email protected] wrote:
浏览器重启的时间间隔
在启动 hub 的 hub.json 中配置{"host": "localhost","port": 4444,"newSessionWaitTimeout": -1,"servlets" : [],"prioritizer": null,"capabilityMatcher": "org.openqa.grid.internal.utils.DefaultCapabilityMatcher","throwOnCapabilityNotPresent": true,"nodePolling": 5000,
"cleanUpCycle": 5000,"timeout": 30000,"browserTimeout": 0,"maxSession": 5}
timeout 应该是指定 session 的过期时间,如果到达指定时间,grid 将认为浏览器的 session 已经过期,将会重新打开指定的 url. 目前这个是 30s 就会重启浏览器。
—
Reply to this email directly or view it on GitHubhttps://github.com/alipay/wd-qc-tools/issues/11#issuecomment-13225971.
王保平 / 玉伯(射雕)
送人玫瑰手有余香
from totoro.
grid 的 node.json 和 queenConfig.json 的配置在 ie 下需要注意下
node.json
{
"browserName": "iexplorer",
"version": "9",
"maxInstances": 5,
"seleniumProtocol": "WebDriver"
}
如果我们对 ie 指定版本的话,记住 browserName 一定是 iexplorer 而不是 *iexplorer
queenConfig.json
clients: [
{ browserName: "iexplorer", version: "6" },
{ browserName: "iexplorer", version: "7" },
{ browserName: "iexplorer", version: "8" },
{ browserName: "iexplorer", version: "9" },
{ browserName: "chrome"},
{ browserName: "firefox"},
{ browserName: "opera"},
{ browserName: "safari"}
]
from totoro.
Related Issues (20)
- REAME中的npm install totoro应该加上-g
- 内部gitlab-ci上安装totoro运行后出错,可能和系统有关 HOT 1
- v1.0.0 totoro list 报[undefined/NaN] HOT 1
- 使用上的疑问 HOT 9
- Can not guess which adapter should be used, please choose one of "jasmine,mocha" or apply your own adapter. HOT 2
- node v0.11.x 发布后,socket.io 相关版本应更换为 v1.x
- 日志里能否增加上时间 HOT 3
- totoro --code 参数值的一致性 HOT 5
- Error 'Unknown encoding' HOT 1
- 启动server报错 HOT 4
- Timeout HOT 5
- TypeError: Cannot read property 'forEach' of undefined
- server成功启动后执行测试报服务器错误 HOT 2
- 对于没有设置 proxy,由 totoro 自动将 proxy 设为 false 时,需要给出提示
- totoro 服务是否可以作为 selenium 服务来用 HOT 1
- totorojs和karma的定位以及区别? HOT 5
- http://totorojs.org/ 域名过期 HOT 1
- 阿里巴巴内部还在用totoro来做测试吗? HOT 2
- 请问使用totoro可以生成html格式的测试报告吗? HOT 1
- 请问现在这个项目还有人维护吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from totoro.