Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ equals
Method
equals
javascript/selenium-webdriver/lib/color.js:109–111 ·
view source on GitHub ↗
* @param {*} other * @returns {boolean}
(other)
Source
from the content-addressed store, hash-verified
107
* @returns {boolean}
108
*/
109
equals(other) {
110
return
other instanceof Color && this.asRgba() === other.asRgba()
111
}
112
113
// Converters
114
static #fromRgb(v) {
Callers
3
window.js
File · 0.45
color_test.js
File · 0.45
webdriver_test.js
File · 0.45
Calls
1
asRgba
Method · 0.95
Tested by
no test coverage detected