Selenium Grid是Selenium的一 个扩展,也是免费且开源的(Apache License 2.0)。它把管理一小撮Selenium-RC实例的事情和为了运行一个测试而连接一个Selenium实际的事情分开了。实际上,Selenium Grid是提供了一个hub,象个用于控制测试的远程控制器,但是是显式地将测试请求发送到一个或多个机器上的某个有效的Selenium-RC实例上。
该版本主要改进内容:
- Hub now instructs remote controls to shutdown a session if the hub is going to remove it due to being idle for too long
- Added ability to specify timeout period when waiting for remote controls to become available. Now the client can timeout gracefully and decide what it would like to do next
- Handle common case of session ID not being found, either because it timed out or was already closed; rather than raising a NullPointerException we now raise a NoSuchSessionException
- Truncate long command response bodies to 128 characters
- Retry remote control checks up to three times before deciding that a remote control is unreliable or unresponsive. This prevents aggressive unregistration of hosts that are busy or suffer from network issues
暂无更多评论