File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,17 @@ export async function startPowerShellSession(this: NovaWindowsDriver): Promise<v
5151 await this . sendPowerShellCommand ( FIND_CHILDREN_RECURSIVELY ) ;
5252
5353 if ( ( ! this . caps . app && ! this . caps . appTopLevelWindow ) || ( ! this . caps . app || this . caps . app . toLowerCase ( ) === 'none' ) ) {
54+ this . log . info ( `No app or top-level window specified in capabilities. Setting root element to null.` ) ;
5455 await this . sendPowerShellCommand ( NULL_ROOT_ELEMENT ) ;
5556 }
5657
57- if ( this . caps . app && this . caps . app . toLowerCase ( ) !== 'none' && this . caps . app . toLowerCase ( ) === 'root' ) {
58+ if ( this . caps . app && this . caps . app . toLowerCase ( ) === 'root' ) {
59+ this . log . info ( `'root' specified as app in capabilities. Setting root element to desktop root.` ) ;
5860 await this . sendPowerShellCommand ( INIT_ROOT_ELEMENT ) ;
5961 }
6062
6163 if ( this . caps . app && this . caps . app . toLowerCase ( ) !== 'none' && this . caps . app . toLowerCase ( ) !== 'root' ) {
64+ this . log . info ( `Application path specified in capabilities: ${ this . caps . app } ` ) ;
6265 const envVarsSet : Set < string > = new Set ( ) ;
6366 const matches = this . caps . app . matchAll ( / % ( [ ^ % ] + ) % / g) ;
6467
You can’t perform that action at this time.
0 commit comments