【发布时间】:2018-06-28 01:35:22
【问题描述】:
我有我的代码:
expect(element(by.className('nea-navbar')).getCssValue('background')).toBe('#264367');
当我运行时,期望返回:
Expected 'rgb(38, 67, 103) none repeat scroll 0% 0% / auto padding-box border-box' to be '#264367'.
你知道它会返回这么多信息以及如何从 rgb 传递到 hex 吗?
【问题讨论】:
标签: jasmine protractor