Chrome-driver ERROR: asynchronous script timeout: result was not received in 30 seconds
Astimus opened this issue · comments
Helo. When I use timeout more then 30 seconds in before_capture hook with Chrome-driver error occurs:
ERROR: asynchronous script timeout: result was not received in 30 seconds
(Session info: headless chrome=70.0.3538.77)
(Driver info: chromedriver=2.40.565498 (ea082db3280dd6843ebfb08a625e3eb905c4f5ab),platform=Windows NT 10.0.14393 x86_64)
WARN: Using fallback image instead
How to solve this problem?
Issue checklist:
-
I have validated my config file against YAML Validator to make sure it is valid YAML.
-
I have run the
wraith info
command and pasted the output below:
DEBUG: Command run: info
DEBUG: Wraith version: 4.2.3
DEBUG: Ruby version: ruby 2.5.1p57 (2018-03-29 revision 63029) [x64-mingw32]
DEBUG: ImageMagick: Version: ImageMagick 7.0.8-4 Q16 x64 2018-07-03 http://www.imagemagick.org
DEBUG: PhantomJS version: PhantomJS not installed
DEBUG: chromedriver version: ChromeDriver 2.40.565498 (ea082db3280dd6843ebfb08a625e3eb905c4f5ab)
DEBUG: CasperJS version: CasperJS not installed
- I have run the command in verbose mode (by adding
verbose: true
to my config) and pasted the output below:
DEBUG: #################################################
DEBUG: Command run: history .\config.yaml
DEBUG: Wraith version: 4.2.3
DEBUG: Ruby version: ruby 2.5.1p57 (2018-03-29 revision 63029) [x64-mingw32]
DEBUG: ImageMagick: Version: ImageMagick 7.0.8-4 Q16 x64 2018-07-03 http://www.imagemagick.org
DEBUG: PhantomJS version: PhantomJS not installed
DEBUG: chromedriver version: ChromeDriver 2.40.565498 (ea082db3280dd6843ebfb08a625e3eb905c4f5ab)
DEBUG: CasperJS version: CasperJS not installed
DEBUG: #################################################
Config validated. No serious issues found.
Creating Folders
SAVING IMAGES
ERROR: asynchronous script timeout: result was not received in 30 seconds
(Session info: headless chrome=70.0.3538.77)
(Driver info: chromedriver=2.40.565498 (ea082db3280dd6843ebfb08a625e3eb905c4f5ab),platform=Windows NT 10.0.14393 x86_64)
WARN: Using fallback image instead
ERROR: asynchronous script timeout: result was not received in 30 seconds
(Session info: headless chrome=70.0.3538.77)
(Driver info: chromedriver=2.40.565498 (ea082db3280dd6843ebfb08a625e3eb905c4f5ab),platform=Windows NT 10.0.14393 x86_64)
WARN: Using fallback image instead
- I have pasted the contents of my config file below:
browser: "chrome"
domains:
domain: "http://192.168.45.99/viewer?access_token=eyJhbGciOiJSUzI1NiIsImtpZCI6IjRBRTBFODM5Qjg2MEJFMEMxNTRGRDA5QTQ4NUNEMzM2RDUyN0U4Q0EiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJTdURvT2JoZ3Znd1ZUOUNhU0Z6VE50VW42TW8ifQ.eyJuYmYiOjE1NDIwOTc1MzQsImV4cCI6MTU0MjE4NzUzNCwiaXNzIjoiaHR0cDovLzE5Mi4xNjguNDUuOTkvaWRzcnYiLCJhdWQiOlsiaHR0cDovLzE5Mi4xNjguNDUuOTkvaWRzcnYvcmVzb3VyY2VzIiwiY29yZV9sb2dpY19mYWNhZGUiLCJkYXNoYm9hcmRzX2V4cG9ydF9zZXJ2aWNlIiwic2NyaXB0X3NlcnZpY2UiLCJ2aWV3ZXJfYXBpIiwidmlxdWJlX2FwaSJdLCJjbGllbnRfaWQiOiJyby5jbGllbnQiLCJzdWIiOiI1OWQzOTA0MmE3NjRkODYwMTM4MWIxZTEiLCJhdXRoX3RpbWUiOjE1NDIwOTc1MzQsImlkcCI6ImxvY2FsIiwiZ2l2ZW5fbmFtZSI6IiIsImZhbWlseV9uYW1lIjoi0JDQtNC80LjQvdC40YHRgtGA0LDRgtC-0YAiLCJuYW1lIjoiQWRtaW4iLCJyb2xlIjpbItCQ0LTQvNC40L3QuNGB0YLRgNCw0YLQvtGAIiwi0JLRgdC1INCw0LLRgtC-0YDQuNC30L7QstCw0L3QvdGL0LUg0L_QvtC70YzQt9C-0LLQsNGC0LXQu9C4Il0sInNjb3BlIjpbImVtYWlsIiwib3BlbmlkIiwicHJvZmlsZSIsInJvbGVzIiwiY29yZV9sb2dpY19mYWNhZGUiLCJkYXNoYm9hcmRzX2V4cG9ydF9zZXJ2aWNlIiwic2NyaXB0X3NlcnZpY2UiLCJ2aWV3ZXJfYXBpIiwidmlxdWJlX2FwaSJdLCJhbXIiOlsicHdkIl19.jLe8DWSIqBNHcIfEA4zbmeRiQIKPAtIZVcEczvJIgovAmAuv7qla5yZE4VSqhfPvWirHuTUrItYu45vFxdKacXMwdMprlQWPZL5Q8DzPqkBlclByp8DpAKCNCQG_tlwGJY8dsM3cjOIOuzFxa2x0IlqadU-Oq4gWQdmzP3GVp6dqxFMskAts47iOel3odACm4AvteRuB2wLgK0uO5_0Tsc2MDCtlFtN6kAKxSA_QW4Y3niM_deMVP1yaYVQk1T7gm05ZQJOYukGkBjJGbo91cGjs_-ejuoIJqcIC3-GTDiAbeJnnfrGodU_ZjBhzXnJzvvX0QAJujfz7wFFRXh6Q5_gcv3UjPrwogwfY_mo8OD41thILxrPG_K8M_wx7RByYshVzsl0IT8PoLcjr4Fz0GaTV7H8OYc_LOxA3j24tLcnhFUdDtM9_Qy74sDJVihPLcapiMO3OzqqvLBw6rjxW9ptct-k_dwJ35sQA2cgqlwrKgx03iVGvkksBZVmB2hrS-_KNau2JJoH17nhpZJVpZbrhYZZPp3X6V_4adCehfLjXCWSy5HMf0ijGu4SOqgts4gyapiW5W_fST-Ot54VuBbOaRy2CA5745qIA3LWGKX90hazgBtgiOG7FEYegFFbccCh38Nbx7YOosgLQ86lIOcpjbbjzokUbHTQbOK3oHRA&"
paths:
1b0df45cd1ee4e12befd75183410a328_0f01e26cb581460eac4cd318204542ef: "dashboardGuid=1b0df45cd1ee4e12befd75183410a328&sheetGuid=0f01e26cb581460eac4cd318204542ef&fit=true"
1b0df45cd1ee4e12befd75183410a328_8ab6e236847e411787341c421c5a45cf: "dashboardGuid=1b0df45cd1ee4e12befd75183410a328&sheetGuid=8ab6e236847e411787341c421c5a45cf&fit=true"
before_capture: "javascript-hooks/wait--chrome.js"
screen_widths:
- "1366x768"
- "1920x1080"
resize_or_reload: "resize"
history_dir: "2_102"
directory: "comprasion_result"
fuzz: "20%"
threshold: 0
gallery:
template: "slideshow_template"
thumb_width: 200
thumb_height: 200
mode: "diffs_first"
threads: 1
verbose: true
highlight_color: "red"