summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/WebDriverConnection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/WebContent/WebDriverConnection.cpp')
-rw-r--r--Userland/Services/WebContent/WebDriverConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WebContent/WebDriverConnection.cpp b/Userland/Services/WebContent/WebDriverConnection.cpp
index 821e8e2bc5..0359020205 100644
--- a/Userland/Services/WebContent/WebDriverConnection.cpp
+++ b/Userland/Services/WebContent/WebDriverConnection.cpp
@@ -1033,7 +1033,7 @@ Messages::WebDriverClient::GetElementPropertyResponse WebDriverConnection::get_e
// 5. Let result be the value of property if not undefined, or null.
if (!property.is_undefined()) {
- if (auto string_or_error = property.to_string(element->vm()); !string_or_error.is_error())
+ if (auto string_or_error = property.to_deprecated_string(element->vm()); !string_or_error.is_error())
result = string_or_error.release_value();
}
}