@@ -142,10 +142,10 @@ export class WinAppDriver {
142142 */
143143 async start ( caps ) {
144144 if ( this . opts . url ) {
145- await this . _startSessionWithCustomServer ( this . opts . url ) ;
145+ await this . _prepareSessionWithCustomServer ( this . opts . url ) ;
146146 } else {
147147 const isForceQuitEnabled = caps [ 'ms:forcequit' ] === true ;
148- await this . _startSessionWithBuiltInServer ( isForceQuitEnabled ) ;
148+ await this . _prepareSessionWithBuiltInServer ( isForceQuitEnabled ) ;
149149 }
150150
151151 await this . _startSession ( caps ) ;
@@ -155,7 +155,7 @@ export class WinAppDriver {
155155 * @param {boolean } isForceQuitEnabled
156156 * @returns {Promise<void> }
157157 */
158- async _startSessionWithBuiltInServer ( isForceQuitEnabled ) {
158+ async _prepareSessionWithBuiltInServer ( isForceQuitEnabled ) {
159159 const executablePath = await getWADExecutablePath ( ) ;
160160 this . process = new WADProcess ( this . log , {
161161 base : DEFAULT_BASE_PATH ,
@@ -218,7 +218,7 @@ export class WinAppDriver {
218218 * @param {string } url
219219 * @returns {Promise<void> }
220220 */
221- async _startSessionWithCustomServer ( url ) {
221+ async _prepareSessionWithCustomServer ( url ) {
222222 this . log . info ( `Using custom WinAppDriver server URL: ${ url } ` ) ;
223223
224224 /** @type {URL } */
@@ -247,7 +247,7 @@ export class WinAppDriver {
247247 } catch {
248248 throw new Error (
249249 `WinAppDriver server is not listening at ${ url } . ` +
250- `Make sure it is running and the provided URL is correct`
250+ `Make sure it is running and the provided wadUrl is correct`
251251 ) ;
252252 }
253253 }
0 commit comments