Re: [wtr-general] Re: How do i set selenium script time out?
Hi Titus, Just wanted to confirm what I did and provided yesterday helped. Joe On Tue, Feb 26, 2019 at 4:42 PM Joe Fleck wrote: > Hi Titus, > > Never mind. I believe I figured out where it went. If not please let me > know. > > I used the 'Selenium::WebDriver.logger.level = :info' and the output is > listed below. It looks as though it was added correctly. > I ran the spec test and it failed for the same reason above. ( script > timeout: result was not received in 30 seconds ) > > > 2019-02-26 16:29:14 INFO Selenium -> POST session > 2019-02-26 16:29:14 INFO Selenium>>> http://127.0.0.1:9558/session | > > {"desiredCapabilities":{"browserName":"chrome","version":"","platform":"ANY", > > "javascriptEnabled":true,"cssSelectorsEnabled":true,"takesScreenshot":false, > "nativeEvents":false,"rotatable":false,*"timeouts":{"script":6}*, > *"goog:chromeOptions":{* > *"prefs":{"credentials_enable_service":false,"w3c":true},* > "args":["--ignore-certificate-errors","--disable-popup-blocking", > "--disable-translate","--disable-download-notification","--enable-logging", > > "--v=1","--no-sandbox","--disable-infobars","--disable-password-generation"]}}, > > "capabilities":{"firstMatch":[{"browserName":"chrome", > *"timeouts":{"script":6},* > *"goog:chromeOptions":{"prefs":* > *{"credentials_enable_service":false,"w3c":true},* > > "args":["--ignore-certificate-errors","--disable-popup-blocking","--disable-translate", > > "--disable-download-notification","--enable-logging","--v=1","--no-sandbox", > "--disable-infobars","--disable-password-generation"]}}]}} > 2019-02-26 16:29:15 INFO Selenium <- > {"sessionId":"fb808346d7541e4687cd4e32f76b2c6b", > "status":0,"value":{"acceptInsecureCerts":false,"acceptSslCerts":false, > "applicationCacheEnabled":false,"browserConnectionEnabled":false, > "browserName":"chrome","chrome":{"chromedriverVersion":"2.42.591059 > (a3d9684d10d61aa0c45f6723b327283be1ebaad8)","userDataDir": > > "/var/folders/b8/87wnshxn3h76c0b59c3f1c8jd10zkq/T/.org.chromium.Chromium.MSnlfZ"}, > "cssSelectorsEnabled":true,"databaseEnabled":false, > > "goog:chromeOptions":{"debuggerAddress":"localhost:54611"}, > "handlesAlerts":true,"hasTouchScreen":false,"javascriptEnabled":true, > "locationContextEnabled":true,"mobileEmulationEnabled":false, > > "nativeEvents":true,"networkConnectionEnabled":false,"pageLoadStrategy":"normal", > "platform":"Mac OS X","rotatable":false,"setWindowRect":true, > > "takesHeapSnapshot":true,"takesScreenshot":true,"unexpectedAlertBehaviour":"", > "version":"72.0.3626.119","webStorageEnabled":true}} > 2019-02-26 16:29:15 INFO Selenium Detected OSS dialect. > > On Tue, Feb 26, 2019 at 4:26 PM Joe Fleck wrote: > >> Sorry still learning but can that be added to my current setup? >> >> >> On Tue, Feb 26, 2019 at 3:07 PM Titus Fortner >> wrote: >> >>> Try setting w3c: true in Chrome options, maybe I'm using the wrong >>> signature for legacy Chrome. >>> >>> -- >>> -- >>> Before posting, please read >>> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. >>> >>> In short: search before you ask, be nice. >>> >>> watir-general@googlegroups.com >>> http://groups.google.com/group/watir-general >>> watir-general+unsubscr...@googlegroups.com >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Watir General" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to watir-general+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- -- Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [wtr-general] Re: How do i set selenium script time out?
Hi Titus, Never mind. I believe I figured out where it went. If not please let me know. I used the 'Selenium::WebDriver.logger.level = :info' and the output is listed below. It looks as though it was added correctly. I ran the spec test and it failed for the same reason above. ( script timeout: result was not received in 30 seconds ) 2019-02-26 16:29:14 INFO Selenium -> POST session 2019-02-26 16:29:14 INFO Selenium>>> http://127.0.0.1:9558/session | {"desiredCapabilities":{"browserName":"chrome","version":"","platform":"ANY", "javascriptEnabled":true,"cssSelectorsEnabled":true,"takesScreenshot":false, "nativeEvents":false,"rotatable":false,*"timeouts":{"script":6}*, *"goog:chromeOptions":{* *"prefs":{"credentials_enable_service":false,"w3c":true},* "args":["--ignore-certificate-errors","--disable-popup-blocking", "--disable-translate","--disable-download-notification","--enable-logging", "--v=1","--no-sandbox","--disable-infobars","--disable-password-generation"]}}, "capabilities":{"firstMatch":[{"browserName":"chrome", *"timeouts":{"script":6},* *"goog:chromeOptions":{"prefs":* *{"credentials_enable_service":false,"w3c":true},* "args":["--ignore-certificate-errors","--disable-popup-blocking","--disable-translate", "--disable-download-notification","--enable-logging","--v=1","--no-sandbox", "--disable-infobars","--disable-password-generation"]}}]}} 2019-02-26 16:29:15 INFO Selenium <- {"sessionId":"fb808346d7541e4687cd4e32f76b2c6b", "status":0,"value":{"acceptInsecureCerts":false,"acceptSslCerts":false, "applicationCacheEnabled":false,"browserConnectionEnabled":false, "browserName":"chrome","chrome":{"chromedriverVersion":"2.42.591059 (a3d9684d10d61aa0c45f6723b327283be1ebaad8)","userDataDir": "/var/folders/b8/87wnshxn3h76c0b59c3f1c8jd10zkq/T/.org.chromium.Chromium.MSnlfZ"}, "cssSelectorsEnabled":true,"databaseEnabled":false, "goog:chromeOptions":{"debuggerAddress":"localhost:54611"}, "handlesAlerts":true,"hasTouchScreen":false,"javascriptEnabled":true, "locationContextEnabled":true,"mobileEmulationEnabled":false, "nativeEvents":true,"networkConnectionEnabled":false,"pageLoadStrategy":"normal", "platform":"Mac OS X","rotatable":false,"setWindowRect":true, "takesHeapSnapshot":true,"takesScreenshot":true,"unexpectedAlertBehaviour":"", "version":"72.0.3626.119","webStorageEnabled":true}} 2019-02-26 16:29:15 INFO Selenium Detected OSS dialect. On Tue, Feb 26, 2019 at 4:26 PM Joe Fleck wrote: > Sorry still learning but can that be added to my current setup? > > > On Tue, Feb 26, 2019 at 3:07 PM Titus Fortner > wrote: > >> Try setting w3c: true in Chrome options, maybe I'm using the wrong >> signature for legacy Chrome. >> >> -- >> -- >> Before posting, please read >> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. >> >> In short: search before you ask, be nice. >> >> watir-general@googlegroups.com >> http://groups.google.com/group/watir-general >> watir-general+unsubscr...@googlegroups.com >> --- >> You received this message because you are subscribed to the Google Groups >> "Watir General" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to watir-general+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [wtr-general] Re: How do i set selenium script time out?
Sorry still learning but can that be added to my current setup? On Tue, Feb 26, 2019 at 3:07 PM Titus Fortner wrote: > Try setting w3c: true in Chrome options, maybe I'm using the wrong > signature for legacy Chrome. > > -- > -- > Before posting, please read > https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. > > In short: search before you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com > --- > You received this message because you are subscribed to the Google Groups > "Watir General" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to watir-general+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [wtr-general] Re: How do i set selenium script time out?
Try setting w3c: true in Chrome options, maybe I'm using the wrong signature for legacy Chrome. -- -- Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [wtr-general] Re: How do i set selenium script time out?
Hi Titus, Here is the output you're looking for. It looks like it is setting it but I am not see it reflected when the spec is run. 2019-02-26 14:13:22 INFO Selenium>>> http://127.0.0.1:9556/session | {"desiredCapabilities":{"browserName":"chrome","version":"","platform":"ANY","javascriptEnabled":true, "cssSelectorsEnabled":true,"takesScreenshot":false,"nativeEvents":false,"rotatable":false, *"timeouts":{"script":6},* "goog:chromeOptions":{"prefs":{"credentials_enable_service":false}, "args":["--ignore-certificate-errors","--disable-popup-blocking","--disable-translate", "--disable-download-notification","--enable-logging","--v=1","--no-sandbox","--disable-infobars", "--disable-password-generation"]}},"capabilities":{"firstMatch":[{"browserName":"chrome", "timeouts":{"script":6},"goog:chromeOptions":{"prefs":{"credentials_enable_service":false}, "args":["--ignore-certificate-errors","--disable-popup-blocking","--disable-translate", "--disable-download-notification","--enable-logging","--v=1","--no-sandbox", "--disable-infobars","--disable-password-generation"]}}]}} 2019-02-26 14:13:22 INFO Selenium <- {"sessionId":"2edac721fdf33cb68d3b3a64b02a3f27", "status":0,"value":{"acceptInsecureCerts":false,"acceptSslCerts":false, "applicationCacheEnabled":false,"browserConnectionEnabled":false, "browserName":"chrome","chrome":{"chromedriverVersion":"2.42.591059 (a3d9684d10d61aa0c45f6723b327283be1ebaad8)" ,"userDataDir":"/var/folders/b8/87wnshxn3h76c0b59c3f1c8jd10zkq/T/.org.chromium.Chromium.ZzWbNC"}, "cssSelectorsEnabled":true, "databaseEnabled":false,"goog:chromeOptions":{"debuggerAddress":"localhost:57475"}, "handlesAlerts":true,"hasTouchScreen":false,"javascriptEnabled":true, "locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true, "networkConnectionEnabled":false,"pageLoadStrategy":"normal","platform":"Mac OS X", "rotatable":false,"setWindowRect":true,"takesHeapSnapshot":true,"takesScreenshot":true, "unexpectedAlertBehaviour":"","version":"72.0.3626.119","webStorageEnabled":true}} On Tue, Feb 26, 2019 at 1:59 PM Titus Fortner wrote: > I don't have time to test it right now, but it might be a bug. Try > Selenium::Webdriver.logger.level = :info > See if the timeout information is showing up when you initialize the > browser. > > It's possible that watir isn't seeing both right now. I'm working on > fixing it. > > -- > -- > Before posting, please read > https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. > > In short: search before you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com > --- > You received this message because you are subscribed to the Google Groups > "Watir General" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to watir-general+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.