Skip to content

Instantly share code, notes, and snippets.

@srsbiz
Last active August 2, 2019 09:36
Show Gist options
  • Save srsbiz/1cd71dbe79369dd1682ddb2b2275a8e2 to your computer and use it in GitHub Desktop.
Save srsbiz/1cd71dbe79369dd1682ddb2b2275a8e2 to your computer and use it in GitHub Desktop.
Skrypt do sprawdzenia statusu płatnika VAT w PhantomJS
/**
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
"use strict";
/**
* https://github.com/ariya/phantomjs/blob/master/examples/waitfor.js
*/
function waitFor(testFunction, readyFunction, timeOutMillis) {
var maxtimeOutMillis = timeOutMillis ? timeOutMillis : 3000,
start = new Date().getTime(),
condition = false,
interval = setInterval(function() {
if ( (new Date().getTime() - start < maxtimeOutMillis) && !condition ) {
condition = (typeof(testFunction) === "string" ? eval(testFunction) : testFunction());
} else {
if(!condition) {
phantom.exit(1);
} else {
typeof(readyFunction) === "string" ? eval(readyFunction) : readyFunction();
clearInterval(interval);
}
}
}, 250);
};
var system = require('system'),
args = system.args,
nip,
nieJest = "Podmiot o podanym identyfikatorze podatkowym NIP nie jest zarejestrowany jako podatnik VAT",
page = require('webpage').create();
if (1 === args.length) {
console.log('NIP is required');
phantom.exit(1);
} else {
nip = args[1];
}
page.open('https://ppuslugi.mf.gov.pl/', function(status) {
if (status !== "success") {
console.log("Unable to access network");
phantom.exit();
} else {
waitFor(function(){
return page.evaluate(function() { return $('#SidebarActions_WebUMn li').length > 0; });
}, function(){
page.evaluate(function() {
FWDC.executeAction(1005, null, 'FLOW');
});
waitFor(function(){
return page.evaluate(function() { return $('#b-7').length > 0; });
}, function(){
page.evaluate(function(nip) {
$('#b-7').val(nip);
$('#b-8').trigger('click');
}, nip);
waitFor(function(){
return page.evaluate(function() { return $('#container_b-3').is(':visible'); });
}, function() {
var msg = page.evaluate(function() { return $.trim($('#container_b-3').text()); }),
date = page.evaluate(function() { return $.trim($('#caption2_b-b').text().split(':')[1]).split('-').reverse().join('-'); }),
response = {
"nip": nip,
"msg": msg,
"date": date,
"status": msg == nieJest ? false : true
};
system.stdout.write(JSON.stringify(response));
phantom.exit();
});
});
});
}
});
@vSzemkel
Copy link

Bardzo dziękujemy, Dobry Człowieku

@amnich
Copy link

amnich commented Jul 1, 2017

Nice job! I was looking for something like that.

I would make a double check and add var Jest to check for both possible results.
If they change the description on var NieJest it would always return True which is very misleading and could be expensive if someone is relying on that information.
I also added the message itself to returned results.

"use strict";
function waitFor(testFunction, readyFunction, timeOutMillis) {
    var maxtimeOutMillis = timeOutMillis ? timeOutMillis : 3000,
        start = new Date().getTime(),
        condition = false,
        interval = setInterval(function() {
            if ( (new Date().getTime() - start < maxtimeOutMillis) && !condition ) {
                condition = (typeof(testFunction) === "string" ? eval(testFunction) : testFunction());
            } else {
                if(!condition) {
                    phantom.exit(1);
                } else {
                    typeof(readyFunction) === "string" ? eval(readyFunction) : readyFunction();
                    clearInterval(interval);
                }
            }
        }, 250);
};

var system = require('system'),
    args = system.args,
    nip,
    nieJest = "Podmiot o podanym identyfikatorze podatkowym NIP nie jest zarejestrowany jako podatnik VAT",
	Jest = "NIP jest zarejestrowany",
    page = require('webpage').create();

if (1 === args.length) {
    console.log('NIP is required');
    phantom.exit(1);
} else {
    nip = args[1];
}

page.open('https://ppuslugi.mf.gov.pl/', function(status) {
    if (status !== "success") {
        console.log("Unable to access network");
        phantom.exit();
    } else {
        waitFor(function(){
            return page.evaluate(function() { return $('#SidebarActions_WebUMn li').length > 0; });
        }, function(){
            page.evaluate(function() { 
                FWDC.executeAction(1005, null, 'FLOW');
            });
            waitFor(function(){
                return page.evaluate(function() { return $('#b-7').length > 0; });
            }, function(){
                page.evaluate(function(nip) { 
                    $('#b-7').val(nip);
                    $('#b-8').trigger('click');
                }, nip);
                waitFor(function(){
                    return page.evaluate(function() { return $('#container_b-3').is(':visible') });
                }, function() {
                    var response = {
                        "nip": nip,
						"status": page.evaluate(function() { return $.trim($('#container_b-3').text()); }).indexOf(Jest) >= 0,
						"message": page.evaluate(function() { return $.trim($('#container_b-3').text()); })						
                    };
					var status2 = page.evaluate(function() { return $.trim($('#container_b-3').text()); }) == nieJest ? false : true;
					if (status2 === response.status){
						system.stdout.write(JSON.stringify(response));
					}
					else{
						console.log("status Jest is not equal status NieJest");
					}
                    phantom.exit();
                });
            });
        });        
    }
}); 

@smolksmolk
Copy link

smolksmolk commented Jul 2, 2017

Pomysł przedni, realizacja też. Gratuluję. Ale należy jeszcze go dopieścić.
skrypt raz działa, raz nie :( - ostatnio mniej niż bardziej. Poniżej błędy z przetwarzania.

phantomjs.exe --debug=true --cookies-file=ciacho vacik.js 5927223230
2017-07-02T07:37:20 [DEBUG] CookieJar - Loaded "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZ
UYC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:36:22 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:20 [DEBUG] CookieJar - Created and will store cookies in: "ciacho"
2017-07-02T07:37:21 [DEBUG] Set  "http"  proxy to:  "" : 1080
2017-07-02T07:37:21 [DEBUG] Phantom - execute: Configuration
2017-07-02T07:37:21 [DEBUG]      0 objectName : ""
2017-07-02T07:37:21 [DEBUG]      1 cookiesFile : "ciacho"
2017-07-02T07:37:21 [DEBUG]      2 diskCacheEnabled : "false"
2017-07-02T07:37:21 [DEBUG]      3 maxDiskCacheSize : "-1"
2017-07-02T07:37:21 [DEBUG]      4 diskCachePath : ""
2017-07-02T07:37:21 [DEBUG]      5 ignoreSslErrors : "false"
2017-07-02T07:37:21 [DEBUG]      6 localUrlAccessEnabled : "true"
2017-07-02T07:37:21 [DEBUG]      7 localToRemoteUrlAccessEnabled : "false"
2017-07-02T07:37:21 [DEBUG]      8 outputEncoding : "UTF-8"
2017-07-02T07:37:21 [DEBUG]      9 proxyType : "http"
2017-07-02T07:37:21 [DEBUG]      10 proxy : ":1080"
2017-07-02T07:37:21 [DEBUG]      11 proxyAuth : ":"
2017-07-02T07:37:21 [DEBUG]      12 scriptEncoding : "UTF-8"
2017-07-02T07:37:21 [DEBUG]      13 webSecurityEnabled : "true"
2017-07-02T07:37:21 [DEBUG]      14 offlineStoragePath : ""
2017-07-02T07:37:21 [DEBUG]      15 localStoragePath : ""
2017-07-02T07:37:21 [DEBUG]      16 localStorageDefaultQuota : "-1"
2017-07-02T07:37:21 [DEBUG]      17 offlineStorageDefaultQuota : "-1"
2017-07-02T07:37:21 [DEBUG]      18 printDebugMessages : "true"
2017-07-02T07:37:21 [DEBUG]      19 javascriptCanOpenWindows : "true"
2017-07-02T07:37:21 [DEBUG]      20 javascriptCanCloseWindows : "true"
2017-07-02T07:37:21 [DEBUG]      21 sslProtocol : "default"
2017-07-02T07:37:21 [DEBUG]      22 sslCiphers : "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES2
56-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-RC4-SHA:ECDHE-RSA-RC4-SHA:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:DH
E-RSA-AES256-SHA:AES128-GCM-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:RC4-SHA:RC4-MD5"
2017-07-02T07:37:21 [DEBUG]      23 sslCertificatesPath : ""
2017-07-02T07:37:21 [DEBUG]      24 sslClientCertificateFile : ""
2017-07-02T07:37:21 [DEBUG]      25 sslClientKeyFile : ""
2017-07-02T07:37:21 [DEBUG]      26 sslClientKeyPassphrase : ""
2017-07-02T07:37:21 [DEBUG]      27 webdriver : ":"
2017-07-02T07:37:21 [DEBUG]      28 webdriverLogFile : ""
2017-07-02T07:37:21 [DEBUG]      29 webdriverLogLevel : "INFO"
2017-07-02T07:37:21 [DEBUG]      30 webdriverSeleniumGridHub : ""
2017-07-02T07:37:21 [DEBUG] Phantom - execute: Script & Arguments
2017-07-02T07:37:21 [DEBUG]      script: "vacik.js"
2017-07-02T07:37:21 [DEBUG]      0 arg: "5927223230"
2017-07-02T07:37:21 [DEBUG] Phantom - execute: Starting normal mode
2017-07-02T07:37:21 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:37:21 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:37:21 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:37:21 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:37:21 [DEBUG] WebPage - updateLoadingProgress: 10
2017-07-02T07:37:29 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:29 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:29 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:29 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:29 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:30 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:30 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:30 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:30 [DEBUG] WebPage - updateLoadingProgress: 30
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] WebPage - updateLoadingProgress: 31
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] WebPage - updateLoadingProgress: 33
2017-07-02T07:37:31 [DEBUG] WebPage - updateLoadingProgress: 35
2017-07-02T07:37:31 [DEBUG] WebPage - updateLoadingProgress: 37
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] WebPage - updateLoadingProgress: 39
2017-07-02T07:37:31 [DEBUG] WebPage - updateLoadingProgress: 41
2017-07-02T07:37:31 [DEBUG] WebPage - updateLoadingProgress: 44
2017-07-02T07:37:31 [DEBUG] WebPage - updateLoadingProgress: 45
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] WebPage - updateLoadingProgress: 47
2017-07-02T07:37:31 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] WebPage - updateLoadingProgress: 48
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:31 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 50
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 55
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 58
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 61
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 63
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 66
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 68
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 71
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 74
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 77
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 79
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 82
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 85
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 87
2017-07-02T07:37:32 [DEBUG] WebPage - updateLoadingProgress: 89
2017-07-02T07:37:33 [DEBUG] WebPage - updateLoadingProgress: 90
2017-07-02T07:37:33 [WARNING] libpng warning: iCCP: known incorrect sRGB profile
2017-07-02T07:37:33 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:33 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:33 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:33 [DEBUG] WebPage - updateLoadingProgress: 90
2017-07-02T07:37:33 [DEBUG] WebPage - updateLoadingProgress: 100
2017-07-02T07:37:33 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:37:33 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#SidebarActions_WebUMn li').length > 0; })();
})()"
2017-07-02T07:37:33 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, false)
2017-07-02T07:37:33 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:33 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:33 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:34 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#SidebarActions_WebUMn li').length > 0; })();
})()"
2017-07-02T07:37:34 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, true)
2017-07-02T07:37:34 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { \r\n                FWDC.executeAction(1005, null, 'FLOW
');\r\n            })(); })()"
2017-07-02T07:37:34 [DEBUG] WebPage - evaluateJavaScript result QVariant(Invalid)
2017-07-02T07:37:34 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#b-7').length > 0; })(); })()"
2017-07-02T07:37:34 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, true)
2017-07-02T07:37:34 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:34 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:34 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:34 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:37:34 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function (nip) { \r\n                    $('#b-7').val(nip);\r\n
              $('#b-8').trigger('click');\r\n                })(\"5927223230\"); })()"
2017-07-02T07:37:34 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:34 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:34 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:34 [DEBUG] WebPage - evaluateJavaScript result QVariant(Invalid)
2017-07-02T07:37:34 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:34 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:34 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:35 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:35 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:35 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+AuB6umEL0LaR0
0knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:35 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:37:35 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#container_b-3').is(':visible'); })(); })()"
2017-07-02T07:37:35 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, true)
2017-07-02T07:37:35 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $.trim($('#container_b-3').text()); })(); })()"
2017-07-02T07:37:35 [DEBUG] WebPage - evaluateJavaScript result QVariant(QString, "Podmiot o podanym identyfikatorze podatkowym NIP nie jest zarejestr
owany jako podatnik VAT")
2017-07-02T07:37:35 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $.trim($('#container_b-3').text()); })(); })()"
2017-07-02T07:37:35 [DEBUG] WebPage - evaluateJavaScript result QVariant(QString, "Podmiot o podanym identyfikatorze podatkowym NIP nie jest zarejestr
owany jako podatnik VAT")
2017-07-02T07:37:35 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $.trim($('#container_b-3').text()); })(); })()"
2017-07-02T07:37:35 [DEBUG] WebPage - evaluateJavaScript result QVariant(QString, "Podmiot o podanym identyfikatorze podatkowym NIP nie jest zarejestr
owany jako podatnik VAT")
{"nip":"5927223230","status":false,"message":"Podmiot o podanym identyfikatorze podatkowym NIP nie jest zarejestrowany jako podatnik VAT"}2017-07-02T0
7:37:35 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:37:35 [DEBUG] WebPage - updateLoadingProgress: 10
2017-07-02T07:37:35 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:37:35 [DEBUG] WebPage - updateLoadingProgress: 100
2017-07-02T07:37:35 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:37:35 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:37:35 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:37:35 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:37:35 [DEBUG] WebPage - updateLoadingProgress: 10
2017-07-02T07:37:35 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:37:35 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:37:35 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:37:35 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:37:35 [DEBUG] WebPage - updateLoadingProgress: 100
2017-07-02T07:37:35 [DEBUG] CookieJar - Purged (session) "tap-session=zqDtG4FNg35nL5KaLV/oJQ5DX4cMRM+GB1dNrncW37OXYjyU3FsB3PXvaaJ4HUHgVG1o12qUVlQIQ+Au
B6umEL0LaR00knyS4dmEraqQfbhWpEZTetDndIzwwlBh9Pt9PDgBdf+CAPvfGDklWQ3xkSCjQcgrBH3/1jmzmQuTLJA_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:35 [DEBUG] CookieJar - Purged (session) "ePodatki_Pilot_TAP_80_sticky=R1892953610; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:37:35 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:37:29 GMT; domain=ppuslugi.mf.gov.pl; path=/"
phantomjs.exe --debug=true --cookies-file=ciacho vacik.js 5260000000
2017-07-02T07:43:41 [DEBUG] CookieJar - Loaded "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZ
UYC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:11 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:41 [DEBUG] CookieJar - Created and will store cookies in: "ciacho"
2017-07-02T07:43:42 [DEBUG] Set  "http"  proxy to:  "" : 1080
2017-07-02T07:43:42 [DEBUG] Phantom - execute: Configuration
2017-07-02T07:43:42 [DEBUG]      0 objectName : ""
2017-07-02T07:43:42 [DEBUG]      1 cookiesFile : "ciacho"
2017-07-02T07:43:42 [DEBUG]      2 diskCacheEnabled : "false"
2017-07-02T07:43:42 [DEBUG]      3 maxDiskCacheSize : "-1"
2017-07-02T07:43:42 [DEBUG]      4 diskCachePath : ""
2017-07-02T07:43:42 [DEBUG]      5 ignoreSslErrors : "false"
2017-07-02T07:43:42 [DEBUG]      6 localUrlAccessEnabled : "true"
2017-07-02T07:43:42 [DEBUG]      7 localToRemoteUrlAccessEnabled : "false"
2017-07-02T07:43:42 [DEBUG]      8 outputEncoding : "UTF-8"
2017-07-02T07:43:42 [DEBUG]      9 proxyType : "http"
2017-07-02T07:43:42 [DEBUG]      10 proxy : ":1080"
2017-07-02T07:43:42 [DEBUG]      11 proxyAuth : ":"
2017-07-02T07:43:43 [DEBUG]      12 scriptEncoding : "UTF-8"
2017-07-02T07:43:43 [DEBUG]      13 webSecurityEnabled : "true"
2017-07-02T07:43:43 [DEBUG]      14 offlineStoragePath : ""
2017-07-02T07:43:43 [DEBUG]      15 localStoragePath : ""
2017-07-02T07:43:43 [DEBUG]      16 localStorageDefaultQuota : "-1"
2017-07-02T07:43:43 [DEBUG]      17 offlineStorageDefaultQuota : "-1"
2017-07-02T07:43:43 [DEBUG]      18 printDebugMessages : "true"
2017-07-02T07:43:43 [DEBUG]      19 javascriptCanOpenWindows : "true"
2017-07-02T07:43:43 [DEBUG]      20 javascriptCanCloseWindows : "true"
2017-07-02T07:43:43 [DEBUG]      21 sslProtocol : "default"
2017-07-02T07:43:43 [DEBUG]      22 sslCiphers : "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES2
56-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-RC4-SHA:ECDHE-RSA-RC4-SHA:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:DH
E-RSA-AES256-SHA:AES128-GCM-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:RC4-SHA:RC4-MD5"
2017-07-02T07:43:43 [DEBUG]      23 sslCertificatesPath : ""
2017-07-02T07:43:43 [DEBUG]      24 sslClientCertificateFile : ""
2017-07-02T07:43:43 [DEBUG]      25 sslClientKeyFile : ""
2017-07-02T07:43:43 [DEBUG]      26 sslClientKeyPassphrase : ""
2017-07-02T07:43:43 [DEBUG]      27 webdriver : ":"
2017-07-02T07:43:43 [DEBUG]      28 webdriverLogFile : ""
2017-07-02T07:43:43 [DEBUG]      29 webdriverLogLevel : "INFO"
2017-07-02T07:43:43 [DEBUG]      30 webdriverSeleniumGridHub : ""
2017-07-02T07:43:43 [DEBUG] Phantom - execute: Script & Arguments
2017-07-02T07:43:43 [DEBUG]      script: "vacik.js"
2017-07-02T07:43:43 [DEBUG]      0 arg: "5260000000"
2017-07-02T07:43:43 [DEBUG] Phantom - execute: Starting normal mode
2017-07-02T07:43:43 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:43:43 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:43:43 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:43:43 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:43:43 [DEBUG] WebPage - updateLoadingProgress: 10
2017-07-02T07:43:44 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:44 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:44 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:44 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:44 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] WebPage - updateLoadingProgress: 30
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] WebPage - updateLoadingProgress: 30
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] WebPage - updateLoadingProgress: 32
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:47 [DEBUG] WebPage - updateLoadingProgress: 35
2017-07-02T07:43:47 [DEBUG] WebPage - updateLoadingProgress: 37
2017-07-02T07:43:47 [DEBUG] WebPage - updateLoadingProgress: 39
2017-07-02T07:43:47 [DEBUG] WebPage - updateLoadingProgress: 41
2017-07-02T07:43:47 [DEBUG] WebPage - updateLoadingProgress: 43
2017-07-02T07:43:47 [DEBUG] WebPage - updateLoadingProgress: 45
2017-07-02T07:43:47 [DEBUG] WebPage - updateLoadingProgress: 47
2017-07-02T07:43:47 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 49
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 52
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 55
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 58
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 61
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 63
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 66
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 69
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 72
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 76
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 79
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 81
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 84
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 86
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 88
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 90
2017-07-02T07:43:48 [WARNING] libpng warning: iCCP: known incorrect sRGB profile
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 90
2017-07-02T07:43:48 [DEBUG] WebPage - updateLoadingProgress: 100
2017-07-02T07:43:48 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:48 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#SidebarActions_WebUMn li').length > 0; })();
})()"
2017-07-02T07:43:48 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, true)
2017-07-02T07:43:49 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { \r\n                FWDC.executeAction(1005, null, 'FLOW
');\r\n            })(); })()"
2017-07-02T07:43:49 [DEBUG] WebPage - evaluateJavaScript result QVariant(Invalid)
2017-07-02T07:43:49 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:49 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:49 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:49 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#b-7').length > 0; })(); })()"
2017-07-02T07:43:49 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, true)
2017-07-02T07:43:49 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:43:49 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:49 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:49 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:49 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function (nip) { \r\n                    $('#b-7').val(nip);\r\n
              $('#b-8').trigger('click');\r\n                })(\"5260000000\"); })()"
2017-07-02T07:43:49 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:49 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:49 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:49 [DEBUG] WebPage - evaluateJavaScript result QVariant(Invalid)
2017-07-02T07:43:50 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#container_b-3').is(':visible'); })(); })()"
2017-07-02T07:43:50 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, false)
2017-07-02T07:43:50 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:50 [DEBUG] CookieJar - Saved "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:50 [DEBUG] CookieJar - Saved "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph92qyHju8tT+v
tHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:50 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#container_b-3').is(':visible'); })(); })()"
2017-07-02T07:43:50 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, false)
2017-07-02T07:43:50 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:43:50 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#container_b-3').is(':visible'); })(); })()"
2017-07-02T07:43:50 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, false)
2017-07-02T07:43:51 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#container_b-3').is(':visible'); })(); })()"
2017-07-02T07:43:51 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, false)
2017-07-02T07:43:51 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#container_b-3').is(':visible'); })(); })()"
2017-07-02T07:43:51 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, false)
2017-07-02T07:43:51 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#container_b-3').is(':visible'); })(); })()"
2017-07-02T07:43:51 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, false)
2017-07-02T07:43:51 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#container_b-3').is(':visible'); })(); })()"
2017-07-02T07:43:51 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, false)
2017-07-02T07:43:52 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#container_b-3').is(':visible'); })(); })()"
2017-07-02T07:43:52 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, false)
2017-07-02T07:43:52 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#container_b-3').is(':visible'); })(); })()"
2017-07-02T07:43:52 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, false)
2017-07-02T07:43:52 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#container_b-3').is(':visible'); })(); })()"
2017-07-02T07:43:52 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, false)
2017-07-02T07:43:52 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () { return $('#container_b-3').is(':visible'); })(); })()"
2017-07-02T07:43:52 [DEBUG] WebPage - evaluateJavaScript result QVariant(bool, false)
2017-07-02T07:43:53 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:43:53 [DEBUG] WebPage - updateLoadingProgress: 10
2017-07-02T07:43:53 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:43:53 [DEBUG] WebPage - updateLoadingProgress: 100
2017-07-02T07:43:53 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:43:53 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:43:53 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:43:53 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:43:53 [DEBUG] WebPage - updateLoadingProgress: 10
2017-07-02T07:43:53 [DEBUG] WebPage - setupFrame ""
2017-07-02T07:43:53 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:43:53 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:43:53 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r")))
2017-07-02T07:43:53 [DEBUG] WebPage - updateLoadingProgress: 100
2017-07-02T07:43:53 [DEBUG] CookieJar - Purged (session) "tap-session=zqDtG4FNg35nL5KaLV/oJQEKB8HA8Gz3qFkyG4eFqwZTtCXq7E19DDGob5IhHgfVLuzZ0r6dvm4Roph9
2qyHju8tT+vtHkAx9cU2SCG2NeL/Vumg45wp5BZqO5a+HyrAfwGS6SlIZJacTJ33R681TuW2Pni1fs2ThHiE5P+qVdc_; HttpOnly; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:53 [DEBUG] CookieJar - Purged (session) "ePodatki_Pilot_TAP_80_sticky=R1892989547; domain=ppuslugi.mf.gov.pl; path=/"
2017-07-02T07:43:53 [DEBUG] CookieJar - Saved "tap-bi=W5CNWYk/E02iY5UXKxsKXqb7+fE2sfd6/JAlhbxkBS9saMcxJ/ISVLLs+D5elQHToCnLDPqbur7cOHR5EHX7xtREMT7+7DZU
YC/2sdlXfnwOPAalNjasnAPSDBUwDjNuWC64s7XoAzGi7ovo4YE61w__; HttpOnly; expires=Mon, 02-Jul-2018 05:43:43 GMT; domain=ppuslugi.mf.gov.pl; path=/"

@srsbiz
Copy link
Author

srsbiz commented Aug 31, 2017

@smolksmolk wygląda na to, że 3 sekundy oczekiwania na załadowanie strony / odebranie ajaxa to za mało. Spróbuj zwiększyć limit czekania w w linijce var maxtimeOutMillis = timeOutMillis ? timeOutMillis : 3000 z 3000 na 6000.

@zarembskij
Copy link

Dobra robota! :) A czy ministerstwo udostępnia jakieś api tej usługi, webserwis lub coś w ten deseń aby zautomatyzować odpytywanie o nipy, ale nie wykorzystywac do tego "ukrytego" strzelania do ich strony? Guglałem, ale w wynikach znalazłem tylko płatne nip24.

@srsbiz
Copy link
Author

srsbiz commented Sep 11, 2017

Też guglałem, ale najwidoczniej ministerstwo inwestuje tylko w API do blokowania stron hazardowych :( Powyższy skrypt powstał właśnie z powodu braku oficjalnych narzędzi. Podejrzewam, że komercyjne produkty działają na tej samej zasadzie.

@gawronix
Copy link

gawronix commented Oct 11, 2017

Cześć,
Słuchaj zrobiłem w pythonie program do sprawdzania statusu VAT w VIES i chciałem dodać jeszcze właśnie żeby sprawdzało w ministerstwie ale za cholerę nie mogę tego połączyć, całość zamknąłem w php i js, pobieranie danych z pliku csv i zapisywanie do niego z powrotem zwróconych wartości czy zweryfikowane czy nie. Jest tu jakaś dobra duszyczka która mogłaby mi pomóc? I czy wiecie jaką funkcję trzeba dodać do kodu żeby uzyskać Identyfikator zapytania?

@BusLike
Copy link

BusLike commented Nov 15, 2017

Jakby ktoś wpadł na to jak ominąć formularz na https://ppuslugi.mf.gov.pl/ to dajcie znać. Jaja z JPK i aktywnymi NIPami się zaczynają, mogliby jakieś API wystawić.
edit:
Centrum Kompetencyjne Usług Elektronicznych uprzejmie informuje, że Ministerstwo Finansów pracuje nad udostępnieniem API do usługi "Wyszukiwania statusu podmiotu w VAT".
Jednak coś kombinują.

@hexx12345
Copy link

ChromeDriverService service = ChromeDriverService.CreateDefaultService();
service.HideCommandPromptWindow = true;

        var options = new ChromeOptions();
        if (czy_ukrycie)
        {
            options.AddArgument("--window-position=-32000,-32000");
            options.AddArgument("headless");

            // options.AddArguments("--disable-extensions");

        }
        //options.AddArgument("-incognito");
        options.AddArgument("--disable-popup-blocking");
        options.AddUserProfilePreference("disable-popup-blocking", "true");
        //
        var driver = new ChromeDriver(service, options);

        try
        {

            driver.Navigate().GoToUrl(strona_mf); //  "http://www.finanse.mf.gov.pl/web/wp/pp/sprawdzanie-statusu-podmiotu-w-vat");
            driver.Manage().Window.Maximize();
            Thread.Sleep(2000);
        }
        catch (Exception eee)
        {

        }


    private int Sprawdz_chrome_seria(string nip, ChromeDriverService service, ChromeDriver driver, List<Sprawdz_NIP> sprawdz_nip, int i)
    {
        IWebElement element_b_7 = null;

        int ilosc_petli = 200;
        int czas_oczekiwania = 200;
        //
        //  wpisanie nip
        //
        for (int z = 0; z < ilosc_petli; z++)
        {
            try
            {
                element_b_7 = driver.FindElementById("b-7");
                element_b_7.SendKeys(nip);
                break;
            }
            catch (Exception eee)
            {
                Thread.Sleep(czas_oczekiwania);
                if (z == ilosc_petli - 1)
                    return -2;
            }
        }
        //
        //  klawisz potwierdzenia nip
        //
        for (int z = 0; z < ilosc_petli; z++)
        {
            try
            {
                var element_b_8 = driver.FindElementById("b-8");
                element_b_8.SendKeys(OpenQA.Selenium.Keys.Enter);
                break;
            }
            catch (Exception eee)
            {
                Thread.Sleep(czas_oczekiwania);
                if (z == ilosc_petli - 1)
                    return -2;
            }
        }
        //
        //  odpowiedż z MF
        //
        string message = "";
        for (int z = 0; z < ilosc_petli; z++)
        {
            try
            {
                var element_message = driver.FindElement(By.Id("container_b-3"));
                message = element_message.Text;
                if (message.Trim().Length > 10)
                    break;
            }
            catch (Exception eee)
            {
                Thread.Sleep(czas_oczekiwania);
                if (z == ilosc_petli - 1)
                    return -2;
            }
        }
        //
        //  czy pojawia się button wyczyść 
        //
        IWebElement element_button;
        for (int z = 0; z < ilosc_petli; z++)
        {
            try
            {
                element_button = driver.FindElement(By.Id("b-9"));
                break;
            }
            catch (Exception eee)
            {
                Thread.Sleep(czas_oczekiwania);
                if (z == ilosc_petli - 1)
                    return -2;
            }
        }
        //
        //  element data
        //      
        IWebElement element_data = null;
        string data = null;
        //
        for (int z = 0; z < ilosc_petli; z++)
        {
            try
            {
                element_data = driver.FindElement(By.Id("caption2_b-b"));
                data = (element_data.Text.Split(':')[1]).Trim();
                data = data.Substring(6, 4) + "." + data.Substring(3, 2) + "." + data.Substring(0, 2);
                break;
            }
            catch (Exception eee)
            {
                Thread.Sleep(czas_oczekiwania);
                if (z == ilosc_petli - 1)
                    return -2;
            }
        }


        bool czy_czynny = false;
        if (message.IndexOf("NIP jest zarejestrowany") > -1)
        {
            czy_czynny = true;
        }

        NIP_mf = nip;
        Opis_mf = message;
        Czy_aktywny = czy_czynny;
        Data_mf = data;
        Czy_odczytano = true;


        element_button = driver.FindElement(By.Id("b-9"));
        element_button.Click();
        Thread.Sleep(500);
        return 1;

    }

@patrys666
Copy link

1 0x1befef7 bin/phantomjs() [0x1befef7] 2 0x19fa215 bin/phantomjs() [0x19fa215] 3 0x1b11757 bin/phantomjs() [0x1b11757] 4 0x7df3c2 bin/phantomjs() [0x7df3c2] 5 0x7df6d7 bin/phantomjs() [0x7df6d7] 6 0x7d951d bin/phantomjs() [0x7d951d] 7 0x7bcbdf bin/phantomjs() [0x7bcbdf] 8 0x48e471 bin/phantomjs() [0x48e471] 9 0x43c7e0 bin/phantomjs() [0x43c7e0] 10 0x48625f bin/phantomjs() [0x48625f] 11 0x22cc0bc bin/phantomjs() [0x22cc0bc] 12 0x919f8b bin/phantomjs() [0x919f8b] 13 0x7deec4 bin/phantomjs() [0x7deec4] 14 0x7df68b bin/phantomjs() [0x7df68b] 15 0x7df6d7 bin/phantomjs() [0x7df6d7] 16 0x7d951d bin/phantomjs() [0x7d951d] 17 0x7bcbdf bin/phantomjs() [0x7bcbdf] 18 0x48e471 bin/phantomjs() [0x48e471] 19 0x44d9fd bin/phantomjs() [0x44d9fd] 20 0x432c66 bin/phantomjs() [0x432c66] 21 0x42d19e bin/phantomjs() [0x42d19e] 22 0x7fb4ce1fd830 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fb4ce1fd830] 23 0x42ee89 bin/phantomjs() [0x42ee89] PhantomJS has crashed. Please read the bug reporting guide at <http://phantomjs.org/bug-reporting.html> and file a bug report.
Ja otrzymuję tylko taki wynik, co mogę robić źle?

@mmilch
Copy link

mmilch commented Jul 30, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment