Coder Social home page Coder Social logo

Comments (4)

fool2fish avatar fool2fish commented on July 28, 2024

@leoner

TODO:

  • 浏览器重启的时间间隔
  • thrill 自定义要测试的浏览器

from totoro.

leoner avatar leoner commented on July 28, 2024
  • 浏览器重启的时间间隔,也可以说是闲置超时。
    在启动 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.

lifesinger avatar lifesinger commented on July 28, 2024

今天看了沉鱼的演示,感觉我们正在朝着正确的方向上前行
踏下心来努力去做好做精
很相信我们能在前端测试领域做出一番不一样的事情来

新年快乐。

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.

leoner avatar leoner commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.