File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ async function runSSD() {
6262 await sleep ( 3000 ) ; // Pause execution for 3 seconds
6363
6464 // Login
65- windows = await driver . getWindowHandles ( ) ;
65+ const windows = await driver . getWindowHandles ( ) ;
6666 //if (!Array.isArray(windows) || windows.length === 0) {
6767 // console.log('No windows for app. Quitting.');
6868 // return;
@@ -74,11 +74,11 @@ async function runSSD() {
7474 // console.log(await driver.getTitle());
7575 //await driver.saveScreenshot(`window{i}.png`);
7676 //}
77- login_window = windows [ 0 ]
77+ const login_window = windows [ 0 ]
7878 await driver . switchWindow ( login_window ) ;
7979 await driver . saveScreenshot ( 'login01.png' ) ;
80- id_value = 'jay0lee@gmail.com' ;
81- id_arr = [ ...id_value ] ;
80+ const id_value = 'jay0lee@gmail.com' ;
81+ const id_arr = [ ...id_value ] ;
8282 await driver . sendKeys ( id_arr ) ;
8383 await driver . saveScreenshot ( 'login02.png' ) ;
8484 await driver . sendKeys ( [ Key . Tab ] ) ;
You can’t perform that action at this time.
0 commit comments