Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ toObject
Function
toObject
javascript/selenium-webdriver/lib/by.js:251–255 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
249
}
250
251
toObject() {
252
const
tmp = {}
253
tmp[this.using] = this.value
254
return
tmp
255
}
256
}
257
258
/**
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected