diff --git a/Sources/SnapshotTesting/Common/View.swift b/Sources/SnapshotTesting/Common/View.swift index fb6261c94..43fa133fd 100644 --- a/Sources/SnapshotTesting/Common/View.swift +++ b/Sources/SnapshotTesting/Common/View.swift @@ -853,7 +853,13 @@ extension View { return } wkWebView.takeSnapshot(with: nil) { image, _ in - callback(image!) + let configuaration = WKSnapshotConfiguration() + if #available(iOS 13, macOS 10.15, *) { + configuaration.afterScreenUpdates = false + } + wkWebView.takeSnapshot(with: configuaration) { image, _ in + callback(image!) + } } } } else {