@@ -35,17 +35,15 @@ describe('WebDriver', function () {
3535 wd = new WebDriver ( {
3636 url : siteUrl ,
3737 browser : 'chrome' ,
38- // windowSize: '500x700',
39- // smartWait: 0, // just to try
38+ windowSize : '500x700' ,
39+ smartWait : 0 , // just to try
4040 host : TestHelper . seleniumHost ( ) ,
4141 port : TestHelper . seleniumPort ( ) ,
42- // waitForTimeout: 5000,
43- webSocketUrl : false ,
42+ waitForTimeout : 5000 ,
4443 capabilities : {
45- /* chromeOptions: {
44+ chromeOptions : {
4645 args : [ '--headless' , '--disable-gpu' , '--window-size=1280,1024' ] ,
4746 } ,
48- */
4947 } ,
5048 customLocatorStrategies : {
5149 customSelector : ( selector ) => ( { 'element-6066-11e4-a52e-4f735466cecf' : `${ selector } -foobar` } ) ,
@@ -1278,17 +1276,16 @@ describe('WebDriver - Basic Authentication', () => {
12781276 url : siteUrl ,
12791277 basicAuth : { username : 'admin' , password : 'admin' } ,
12801278 browser : 'chrome' ,
1281- // windowSize: '500x700',
1279+ windowSize : '500x700' ,
12821280 remoteFileUpload : true ,
1283- // smartWait: 0, // just to try
1281+ smartWait : 0 , // just to try
12841282 host : TestHelper . seleniumHost ( ) ,
12851283 port : TestHelper . seleniumPort ( ) ,
1286- // waitForTimeout: 5000,
1284+ waitForTimeout : 5000 ,
12871285 capabilities : {
1288- /* chromeOptions: {
1286+ chromeOptions : {
12891287 args : [ '--headless' , '--disable-gpu' , '--window-size=1280,1024' ] ,
12901288 } ,
1291- */
12921289 } ,
12931290 } )
12941291 } )
0 commit comments