- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/webdriverio/webdrivercss
软件介绍
WebdriverCSS CSS 回归测试工具。此插件是用于 WebdriverIO 的自动视觉回归测试工具。灵感来自于 James Cryer 的项目 PhantomCSS 。初始化过后,它可以通过一个额外的 webdrivercss 指令增强 WebdrivercssIO 实例,并且使保存你的应用程序部分截屏成为可能。
示例代码:
var assert = require('assert');
// init Webdri
verIOvar client = require('webdriverio').remote({desiredCapabilities:{browserName: 'chrome'}})
// init WebdriverCSSrequire('webdrivercss').init(client);
client
.init()
.url('http://example.com')
.webdrivercss('startpage',[
{
name: 'header',
elem: '#header'
}, {
name: 'hero',
elem: '//*[@id="hero"]/div[2]'
}
], function(err, res) {
assert.ifError(err);
assert.ok(res.header[0].isWithinMisMatchTolerance);
assert.ok(res.hero[0].isWithinMisMatchTolerance);
})
.end();
The Zen of CSS Design
Dave Shea、Molly E. Holzschlag / Peachpit Press / 2005-2-27 / USD 44.99
Proving once and for all that standards-compliant design does not equal dull design, this inspiring tome uses examples from the landmark CSS Zen Garden site as the foundation for discussions on how to......一起来看看 《The Zen of CSS Design》 这本书的介绍吧!
