fix(webkit): Fix default User-Agent (#2886)

Co-authored-by: pspaul <pspaul@pspaul.de>
This commit is contained in:
Paul 2020-07-09 01:15:31 +02:00 committed by GitHub
parent f5911de93d
commit 71713c9580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ import { Protocol } from './protocol';
import { kPageProxyMessageReceived, PageProxyMessageReceivedPayload, WKConnection, WKSession } from './wkConnection';
import { WKPage } from './wkPage';
const DEFAULT_USER_AGENT = '"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15';
const DEFAULT_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15';
export class WKBrowser extends BrowserBase {
private readonly _connection: WKConnection;