C:\home\garden\WWW-Mechanize-Chrome-0.38>set TEST_LOG_LEVEL=debug C:\home\garden\WWW-Mechanize-Chrome-0.38>perl -Ilib -w t/60-mech-cookies.t 1..2 # Testing with C:/Program Files/Google/Chrome/Application/chrome.exe 2019/11/03 08:28:17 Spawning $VAR1 = [ 'C:/Program Files/Google/Chrome/Application/chrome.exe', '--v=0', '--remote-debugging-port=0', '--user-data-dir=C:\\Users\\user\\AppData\\Local\\Temp\\yz1Jz_Za5k', '--enable-automation', '--no-first-run', '--mute-audio', '--no-zygote', '--no-sandbox', '--safebrowsing-disable-auto-update', '--disable-background-networking', '--disable-breakpad', '--disable-client-side-phishing-detection', '--disable-component-update', '--disable-hang-monitor', '--disable-prompt-on-repost', '--disable-sync', '--disable-translate', '--disable-web-resources', '--disable-default-apps', '--disable-infobars', '--disable-popup-blocking', '--disable-gpu', '--disable-save-password-bubble', '--headless', 'about:blank' ]; 2019/11/03 08:28:18 Spawned child as 13628 2019/11/03 08:28:22 Connecting to ws://127.0.0.1:54837/devtools/browser/51e2b886-ca2b-43c4-9bee-eeda098dfec7 2019/11/03 08:28:22 Attached to tab 68BCDF1163EB0320877D7386972E2CC4, session A253C9B70FBF77529F78CA32FD6A0F03 2019/11/03 08:28:22 Ignored response to unknown receiver $VAR1 = { 'result' => {}, 'id' => 4 }; 2019/11/03 08:28:22 Ignored response to unknown receiver $VAR1 = { 'id' => 5, 'result' => {} }; 2019/11/03 08:28:22 Ignored response to unknown receiver $VAR1 = { 'id' => 6, 'result' => {} }; 2019/11/03 08:28:22 Ignored response to unknown receiver $VAR1 = { 'id' => 7, 'result' => {} }; 2019/11/03 08:28:22 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:22 Ignored response to unknown receiver $VAR1 = { 'id' => 8, 'result' => {} }; 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Ignoring 'Runtime.executionContextCreated' 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Navigating to [about:blank] 2019/11/03 08:28:35 Ignored response to unknown receiver $VAR1 = { 'result' => {}, 'id' => 9 }; 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Found frame id as 68BCDF1163EB0320877D7386972E2CC4 2019/11/03 08:28:35 Capturing events until 'Page.frameStoppedLoading' for frame 68BCDF1163EB0320877D7386972E2CC4 2019/11/03 08:28:35 Dispatching 'Page.frameStartedLoading' (68BCDF1163EB0320877D7386972E2CC4:-) 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Dispatching 'Runtime.executionContextDestroyed' 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Dispatching 'Runtime.executionContextsCleared' 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Dispatching 'Page.frameNavigated' 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Dispatching 'Runtime.executionContextCreated' 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Dispatching 'DOM.documentUpdated' 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Dispatching 'Page.loadEventFired' 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Dispatching 'Page.frameStoppedLoading' (68BCDF1163EB0320877D7386972E2CC4:-) 2019/11/03 08:28:35 Received final message, unwinding $VAR1 = '(68BCDF1163EB0320877D7386972E2CC4)'; 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Ignoring 'DOM.documentUpdated' 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Ignoring 'Page.domContentEventFired' 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' # Using Chrome version 'HeadlessChrome/77.0.3865.90' 2019/11/03 08:28:35 Navigating to [http://[::1]:54830/] 2019/11/03 08:28:35 Ignored response to unknown receiver $VAR1 = { 'id' => 10, 'result' => {} }; 2019/11/03 08:28:35 Ignored response to unknown receiver $VAR1 = { 'result' => {}, 'id' => 11 }; 2019/11/03 08:28:35 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:35 Found frame id as 68BCDF1163EB0320877D7386972E2CC4 2019/11/03 08:28:35 Found request id as DD4C749F26965CFE3393FDA1354E8B34 2019/11/03 08:28:35 Capturing events until 'Page.frameStoppedLoading' for frame 68BCDF1163EB0320877D7386972E2CC4 or 'Network.loadingFailed' or 'Network.loadingFinished' for request 'DD4C749F26965CFE3393FDA1354E8B34' 2019/11/03 08:28:35 Dispatching 'Network.requestWillBeSent' (68BCDF1163EB0320877D7386972E2CC4:DD4C749F26965CFE3393FDA1354E8B34) 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Network.requestWillBeSentExtraInfo' (-:DD4C749F26965CFE3393FDA1354E8B34) 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Network.responseReceivedExtraInfo' (-:DD4C749F26965CFE3393FDA1354E8B34) 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Network.responseReceived' (68BCDF1163EB0320877D7386972E2CC4:DD4C749F26965CFE3393FDA1354E8B34) 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Page.frameStartedLoading' (68BCDF1163EB0320877D7386972E2CC4:-) 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Runtime.executionContextDestroyed' 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Runtime.executionContextsCleared' 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Page.frameNavigated' 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Runtime.executionContextCreated' 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'DOM.documentUpdated' 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Network.dataReceived' (-:DD4C749F26965CFE3393FDA1354E8B34) 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Network.loadingFinished' (-:DD4C749F26965CFE3393FDA1354E8B34) 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Network.requestWillBeSent' (68BCDF1163EB0320877D7386972E2CC4:1000014008.2) 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Network.requestServedFromCache' (-:1000014008.2) 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Network.responseReceived' (68BCDF1163EB0320877D7386972E2CC4:1000014008.2) 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Network.dataReceived' (-:1000014008.2) 2019/11/03 08:28:37 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:37 Dispatching 'Network.loadingFinished' (-:1000014008.2) 2019/11/03 08:28:39 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:39 Dispatching 'DOM.documentUpdated' 2019/11/03 08:28:39 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:39 Dispatching 'Page.domContentEventFired' 2019/11/03 08:28:39 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:39 Dispatching 'Page.loadEventFired' 2019/11/03 08:28:39 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:39 Dispatching 'Page.frameStoppedLoading' (68BCDF1163EB0320877D7386972E2CC4:-) 2019/11/03 08:28:39 Received final message, unwinding $VAR1 = '(68BCDF1163EB0320877D7386972E2CC4)'; 2019/11/03 08:28:39 Status 200 - 200 OK 2019/11/03 08:28:39 Fetching response body for DD4C749F26965CFE3393FDA1354E8B34 # Fetching cookie jar 2019/11/03 08:28:39 Ignored response to unknown receiver $VAR1 = { 'result' => {}, 'id' => 12 }; 2019/11/03 08:28:39 Ignored response to unknown receiver $VAR1 = { 'result' => {}, 'id' => 13 }; 2019/11/03 08:28:39 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:39 Notifying listeners for 'Target.receivedMessageFromTarget' 2019/11/03 08:28:39 Have body $VAR1 = { 'body' => ' WWW::Mechanize::Firefox test page

Request headers

Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
Accept-Encoding: gzip, deflate, br
Host: [::1]:54830
User-Agent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/77.0.3865.90 Safari/537.36
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1

Location: /

Link /test Link /foo Link / /Link /Link in slashes/ Link foo1.save_log_server_test.tmp Link foo2.save_log_server_test.tmp Link foo3.save_log_server_test.tmp
Col1Col2Col3
A1A2A3
B1B2B3
C1C2C3

  Filename:
  Filetype:
  Content:
  

', 'base64Encoded' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ) }; 2019/11/03 08:28:39 Response body arrived 2019/11/03 08:28:39 Ignored response to unknown receiver $VAR1 = { 'id' => 14, 'result' => {} }; 2019/11/03 08:28:39 Notifying listeners for 'Target.receivedMessageFromTarget' ok 1 - An object of class 'HTTP::Cookies::ChromeDevTools' isa 'HTTP::Cookies' 2019/11/03 08:28:39 Ignored response to unknown receiver $VAR1 = { 'id' => 15, 'result' => {} }; 2019/11/03 08:28:39 Notifying listeners for 'Target.receivedMessageFromTarget' ok 2 - We found at least one cookie Couldn't kill pid '14904': Invalid argument at C:\home\garden\perl5\lib\perl5/Test/HTTP/LocalServer.pm line 275. # Looks like your test exited with -1 just after 2. C:\home\garden\WWW-Mechanize-Chrome-0.38>