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

Method getProperty

javascript/selenium-webdriver/lib/webdriver.js:3013–3015  ·  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

3011 * resolved with the element's property value
3012 */
3013 getProperty(propertyName) {
3014 return this.execute_(new command.Command(command.Name.GET_ELEMENT_PROPERTY).setParameter('name', propertyName))
3015 }
3016
3017 /**
3018 * 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
isPinnedMethod · 0.80
assertCompilesMethod · 0.80
JreSystemPropertyMethod · 0.80
getMethod · 0.80

Calls 2

execute_Method · 0.95
setParameterMethod · 0.80

Tested by 15

storeSystemPropertyMethod · 0.64
isPinnedMethod · 0.64
assertCompilesMethod · 0.64
JreSystemPropertyMethod · 0.64
getMethod · 0.64
getTestDirectoryMethod · 0.64
getExcludedFilesMethod · 0.64
addBrowserPathMethod · 0.64