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

Method getProperty

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

2885 * resolved with the element's property value
2886 */
2887 getProperty(propertyName) {
2888 return this.execute_(new command.Command(command.Name.GET_ELEMENT_PROPERTY).setParameter('name', propertyName))
2889 }
2890
2891 /**
2892 * 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