MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / getProperty

Method getProperty

javascript/selenium-webdriver/lib/webdriver.js:2924–2926  ·  view source on GitHub ↗

* Get the given property of the referenced web element * @param {string} propertyName The name of the attribute to query. * @return {!Promise } A promise that will be * resolved with the element's property value

(propertyName)

Source from the content-addressed store, hash-verified

2922 * resolved with the element's property value
2923 */
2924 getProperty(propertyName) {
2925 return this.execute_(new command.Command(command.Name.GET_ELEMENT_PROPERTY).setParameter('name', propertyName))
2926 }
2927
2928 /**
2929 * Get the shadow root of the current web element.

Callers 15

dom.jsFile · 0.80
domcore.jsFile · 0.80
actions_test.jsFile · 0.80
input_test.jsFile · 0.80
attribute.jsFile · 0.80
storeSystemPropertyMethod · 0.80
JreSystemPropertyMethod · 0.80
getMethod · 0.80
getTestDirectoryMethod · 0.80
getExcludedFilesMethod · 0.80

Calls 2

execute_Method · 0.95
setParameterMethod · 0.80

Tested by 15

storeSystemPropertyMethod · 0.64
JreSystemPropertyMethod · 0.64
getMethod · 0.64
getTestDirectoryMethod · 0.64
getExcludedFilesMethod · 0.64
addBrowserPathMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64