MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / getProperty

Function getProperty

javascript/atoms/typescript/get-attribute.ts:77–79  ·  view source on GitHub ↗
(element: Element, propertyName: string)

Source from the content-addressed store, hash-verified

75 }
76
77 function getProperty(element: Element, propertyName: string): unknown {
78 return (element as unknown as Record<string, unknown>)[propertyName];
79 }
80
81 function isElement(node: unknown, tagName?: string): node is Element {
82 const elem = node as { nodeType?: number; tagName?: string } | null;

Callers 1

get-attribute.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected