diff --git a/Libraries/LibWeb/WebDriver/Proxy.cpp b/Libraries/LibWeb/WebDriver/Proxy.cpp index 83655ef407..b48c432b61 100644 --- a/Libraries/LibWeb/WebDriver/Proxy.cpp +++ b/Libraries/LibWeb/WebDriver/Proxy.cpp @@ -90,9 +90,9 @@ static ErrorOr validate_proxy_item(StringView key, JsonValue const& if (key == "socksProxy"sv) { if (!value.is_string()) - return Error::from_code(ErrorCode::InvalidArgument, "Proxy configuration item 'proxyAutoconfigUrl' must be a string"sv); + return Error::from_code(ErrorCode::InvalidArgument, "Proxy configuration item 'socksProxy' must be a string"sv); if (auto url = URL::Parser::basic_parse(value.as_string()); !url.has_value()) - return Error::from_code(ErrorCode::InvalidArgument, "Proxy configuration item 'proxyAutoconfigUrl' must be a valid URL"sv); + return Error::from_code(ErrorCode::InvalidArgument, "Proxy configuration item 'socksProxy' must be a valid URL"sv); return {}; }