@@ -3,7 +3,7 @@ const {Browser, Builder} = require("selenium-webdriver");
33const  options  =  new  Chrome . Options ( ) ; 
44
55describe ( 'Usage Test' ,  function  ( )  { 
6-   it ( 'After  Selenium Manager' ,  async  function  ( )  { 
6+   it ( 'Creates driver wit  Selenium Manager' ,  async  function  ( )  { 
77
88    let  driver  =  new  Builder ( ) 
99        . forBrowser ( Browser . CHROME ) 
@@ -13,20 +13,24 @@ describe('Usage Test', function () {
1313    await  driver . quit ( ) ; 
1414  } ) ; 
1515
16-   it ( 'Before Selenium Manager' ,  async  function  ( )  { 
17-     let  driverPath  =  paths . driverPath ; 
18-     let  browserPath  =  paths . browserPath ; 
16+   // it('Creates driver with Selenium Manager', async function () { 
17+   //   const paths = { 
18+   //       driverPath: '/path/to/chromedriver', 
19+   //       browserPath: '/path/to/chrome' 
20+   //     }; 
21+   //   let driverPath = paths.driverPath; 
22+   //   let browserPath = paths.browserPath; 
1923
20-     options . setChromeBinaryPath ( browserPath ) 
24+   //    options.setChromeBinaryPath(browserPath)
2125
22-     let  service  =  new  Chrome . ServiceBuilder ( ) . setPath ( driverPath ) 
26+   //    let service = new Chrome.ServiceBuilder().setPath(driverPath)
2327
24-     let  driver  =  new  Builder ( ) 
25-         . forBrowser ( Browser . CHROME ) 
26-         . setChromeService ( service ) 
27-         . build ( ) ; 
28+   //    let driver = new Builder()
29+   //        .forBrowser(Browser.CHROME)
30+   //        .setChromeService(service)
31+   //        .build();
2832
29-     await  driver . get ( 'https://www.selenium.dev/selenium/web/blank.html' ) ; 
30-     await  driver . quit ( ) ; 
31-   } ) ; 
32- } ) ; 
33+   //    await driver.get('https://www.selenium.dev/selenium/web/blank.html');
34+   //    await driver.quit();
35+   //  });
36+ } ) ; 
0 commit comments