@@ -14,6 +14,7 @@ import * as powershellCommands from './commands/powershell';
1414import * as recordScreenCommands from './commands/record-screen' ;
1515import * as touchCommands from './commands/touch' ;
1616import * as contextCommands from './commands/context' ;
17+ import * as logCommands from './commands/log' ;
1718import { POWER_SHELL_FEATURE } from './constants' ;
1819import { newMethodMap } from './method-map' ;
1920import { executeMethodMap } from './execute-method-map' ;
@@ -32,6 +33,10 @@ const NO_PROXY = [
3233 [ 'GET' , new RegExp ( '^/session/[^/]+/screenshot' ) ] ,
3334 [ 'GET' , new RegExp ( '^/session/[^/]+/contexts?' ) ] ,
3435 [ 'POST' , new RegExp ( '^/session/[^/]+/context' ) ] ,
36+ [ 'GET' , new RegExp ( '^/session/[^/]+/log/types' ) ] ,
37+ [ 'POST' , new RegExp ( '^/session/[^/]+/log' ) ] ,
38+ [ 'GET' , new RegExp ( '^/session/[^/]+/se/log/types' ) ] ,
39+ [ 'POST' , new RegExp ( '^/session/[^/]+/se/log' ) ] ,
3540 // Workarounds for
3641 // - https://github.com/appium/appium/issues/15923
3742 // - https://github.com/appium/appium/issues/16316
@@ -219,6 +224,8 @@ export class WindowsDriver extends BaseDriver {
219224 getContexts = contextCommands . getContexts ;
220225 getCurrentContext = contextCommands . getCurrentContext ;
221226 setContext = contextCommands . setContext ;
227+
228+ supportedLogTypes = logCommands . supportedLogTypes ;
222229}
223230
224231export default WindowsDriver ;
0 commit comments