Skip to content

Commit b666ae2

Browse files
pranjal2004838AnuragJosh-Cena
authored
Remove //TODO placeholder (mdn#43267)
* fix(getelementattribute): replace //TODO placeholder with src * Apply suggestion from @Josh-Cena * Apply suggestion from @Josh-Cena --------- Co-authored-by: Anurag <anurag@example.com> Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
1 parent 20d58a4 commit b666ae2

File tree

1 file changed

+1
-1
lines changed
  • files/en-us/web/webdriver/reference/classic/commands/getelementattribute

1 file changed

+1
-1
lines changed

files/en-us/web/webdriver/reference/classic/commands/getelementattribute/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ browser-compat: webdriver.classic.GetElementAttribute
66
sidebar: webdriver
77
---
88

9-
The _Get Element Attribute_ [command](/en-US/docs/Web/WebDriver/Reference/Command) of the [WebDriver](/en-US/docs/Web/WebDriver) API returns the attribute of the referenced [web element](/en-US/docs/Web/WebDriver/Reference/WebElement). If for example the element is an {{HTMLElement("img")}}, the returned attribute is `"//TODO"`, which is equivalent to calling {{domxref("Element.getAttribute")}} on the element. For XML/XHTML documents it may be cased differently.
9+
The _Get Element Attribute_ [command](/en-US/docs/Web/WebDriver/Reference/Command) of the [WebDriver](/en-US/docs/Web/WebDriver) API returns the value associated with the attribute of the given name of the referenced [web element](/en-US/docs/Web/WebDriver/Reference/WebElement). For boolean attributes, the associated value is `"true"` if present. Absent attributes return `null`. It is equivalent to calling {{domxref("Element.getAttribute()")}} on the element in JavaScript.
1010

1111
## Syntax
1212

0 commit comments

Comments
 (0)