Update User Agent (#821)

This commit is contained in:
Mitchell Syer
2024-01-12 23:48:33 -05:00
committed by GitHub
parent b1412dda34
commit 7b290dc465

View File

@@ -129,9 +129,8 @@ object CFClearance {
.build()
}*/
@Suppress("UNREACHABLE_CODE")
fun getWebViewUserAgent(): String {
return "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
return "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
/*return try {
throw PlaywrightException("playwrite is diabled for v0.6.7")