Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ forEachProperty
Function
forEachProperty
javascript/selenium-webdriver/lib/promise.js:234–238 ·
view source on GitHub ↗
(obj, fn)
Source
from the content-addressed store, hash-verified
232
}
233
234
async
function
forEachProperty(obj, fn) {
235
for
(
let
key in obj) {
236
await
fn(obj[key], key)
237
}
238
}
239
240
async
function
forEachElement(arr, fn) {
241
for
(
let
i = 0; i < arr.length; i++) {
Callers
nothing calls this directly
Calls
1
fn
Function · 0.85
Tested by
no test coverage detected