Skip to content

Commit f6e48fd

Browse files
committed
Fix getAttribute for w3c remote ends. Oops
1 parent 25271b8 commit f6e48fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/client/src/org/openqa/selenium/remote/RemoteWebElement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public String getAttribute(String name) {
163163
String script = String.format(
164164
"function() { return (%s).apply(null, arguments);}",
165165
rawFunction);
166-
return (String) parent.executeScript(script, this);
166+
return (String) parent.executeScript(script, this, name);
167167

168168
} catch (IOException | NullPointerException e) {
169169
throw new WebDriverException(e);

0 commit comments

Comments
 (0)