We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be26f2e commit 85ee9cfCopy full SHA for 85ee9cf
Sources/WebDriver/Keys.swift
@@ -7,7 +7,7 @@ public struct Keys: RawRepresentable {
7
8
/// Concatenates multiple key sequences into a single one.
9
public static func sequence(_ keys: [Self]) -> Self {
10
- Self(rawValue: keys.map(\.rawValue).joined())
+ Self(rawValue: keys.reduce("") { $0 + $1.rawValue })
11
}
12
13
0 commit comments