{"id":190870,"date":"2013-08-21T12:38:03","date_gmt":"2013-08-21T08:38:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=190870"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=190870","title":{"rendered":"<span class=\"post_title\">\u0421\u043a\u0440\u0438\u043f\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u0442 \u0432 \u043f\u043e\u0441\u043e\u043b\u044c\u0441\u0442\u0432\u0435<\/span>"},"content":{"rendered":"<div class=\"content html_format\">\n<h5>\u041f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435:<\/h5>\n<p>  \u0412 \u0411\u0435\u043b\u0430\u0440\u0443\u0441\u0438 \u0441\u0442\u043e\u0438\u0442 \u043e\u0441\u0442\u0440\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435\u043c \u0432\u0438\u0437 \u0432 \u0415\u0432\u0440\u043e\u0437\u043e\u043d\u0443 (\u0442.\u0435. \u0428\u0435\u043d\u0433\u0435\u043d). \u0412\u0441\u0435 \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u041f\u043e\u043b\u044c\u0441\u043a\u043e\u0435 \u043f\u043e\u0441\u043e\u043b\u044c\u0441\u0442\u0432\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 \u043c\u0443\u043b\u044c\u0442\u0438-\u0432\u0438\u0437\u044b \u0437\u0430 \u043f\u043e\u043a\u0443\u043f\u043a\u0430\u043c\u0438 (\u0442.\u0435. \u043c\u043d\u043e\u0433\u043e\u043a\u0440\u0430\u0442\u043d\u044b\u0435). \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043e\u043b\u044c\u0441\u0442\u0432\u0430 \u043e\u043d\u043b\u0430\u0439\u043d. \u041d\u043e \u0432\u0441\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u0442 \u043d\u0435 \u0441\u043b\u043e\u0432\u0438\u0442\u044c. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2014 \u043a\u0440\u0443\u0433\u043b\u043e\u0441\u0443\u0442\u043e\u0447\u043d\u043e \u0447\u0435\u043a\u0430\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0438 \u0435\u0441\u043b\u0438 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0434\u0430\u0442\u0430 \u2014 \u0431\u044b\u0441\u0442\u0440\u043e \u00ab\u043b\u043e\u0432\u0438\u0442\u044c\u00bb \u0435\u0435 \u0438 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0442\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044e. \u0422.\u043a. \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0434\u043b\u044f \u043a\u0440\u0443\u0433\u043b\u043e\u0441\u0443\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0447\u0435\u043a\u0430 \u043d\u0435\u0442, \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043e\u0431 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430.<br \/>  \u0421\u0440\u0430\u0437\u0443 \u043e\u0433\u043e\u0432\u043e\u0440\u044e\u0441\u044c, \u0447\u0442\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u043b\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u0442\u044b \u0438 \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043b\u044e\u0434\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0434\u0435\u043d\u044c\u0433\u0438. \u041c\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0435 \u043f\u0440\u0435\u0442\u0435\u043d\u0434\u0443\u0435\u0442 \u043d\u0430 \u0438\u0445 \u043c\u0435\u0441\u0442\u043e \u043f\u043e \u0431\u044b\u0441\u0442\u0440\u043e\u0442\u0435, \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0443 \u0438 \u0442.\u0434. \u0414\u0430\u043d\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0431\u044b\u043b \u0441\u0434\u0435\u043b\u0430\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0441\u0435\u0431\u044f, \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0439 \u0438 \u0438\u043d\u043e\u0439 \u0432\u044b\u0433\u043e\u0434\u044b \u044f \u043d\u0435 \u043f\u0440\u0435\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043b.<a name=\"habracut\"><\/a><\/p>\n<h5>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u0432\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/h5>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u044b\u043b\u043e \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u0442\u043e, \u043a\u0430\u043a \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438.<br \/>  \u041b\u0438\u043d\u043a \u043d\u0430 \u0441\u0430\u0439\u0442 \u043f\u043e\u0441\u043e\u043b\u044c\u0441\u0442\u0432\u0430: <a href=\"https:\/\/by.e-konsulat.gov.pl\/\">by.e-konsulat.gov.pl\/<\/a><br \/>  \u041d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0432\u0438\u0434\u0438\u043c \u0434\u0432\u0430 \u0441\u0435\u043b\u0435\u043a\u0442\u0430, \u0441 \u0432\u044b\u0431\u043e\u0440\u043e\u043c \u0441\u0442\u0440\u0430\u043d\u044b \u0438 \u0433\u043e\u0440\u043e\u0434\u0430. \u0412\u044b\u0431\u0440\u0430\u0432 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043d\u0430\u0441 \u0440\u0435\u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0442 \u043d\u0430 <a href=\"https:\/\/by.e-konsulat.gov.pl\/Informacyjne\/Placowka.aspx?IDPlacowki=94\">by.e-konsulat.gov.pl\/Informacyjne\/Placowka.aspx?IDPlacowki=94<\/a>.<br \/>  \u041f\u043e\u0442\u043e\u043c \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0438\u0437 \u043c\u0435\u043d\u044e \u00ab\u041d\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0412\u0438\u0437\u0430 \u2014 \u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0439\u0442\u0435 \u0431\u043b\u0430\u043d\u043a\u00bb \u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 <a href=\"https:\/\/by.e-konsulat.gov.pl\/Uslugi\/RejestracjaTerminu.aspx?IDUSLUGI=1&#038;IDPlacowki=94\">by.e-konsulat.gov.pl\/Uslugi\/RejestracjaTerminu.aspx?IDUSLUGI=1&#038;IDPlacowki=94<\/a> \u2014 \u0434\u0430\u043d\u043d\u044b\u0439 \u0443\u0440\u043b \u044f \u0438 \u0431\u0440\u0430\u043b \u0437\u0430 \u0432\u0445\u043e\u0434\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443, \u0442.\u043a. \u043d\u0435\u0442 \u0441\u043c\u044b\u0441\u043b\u0430 \u0432 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 (\u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u0435\u0440\u0435\u0434 \u044d\u0442\u0438\u043c \u044f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u0445\u043e\u0434\u0430 \u043f\u043e \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0443\u0440\u043b\u0443 \u0441 \u0447\u0438\u0441\u0442\u044b\u043c\u0438 \u043a\u0443\u043a\u0430\u043c\u0438)<br \/>  \u0414\u0430\u043b\u0435\u0435 \u043c\u044b \u0432\u0438\u0434\u0438\u043c \u043a\u0430\u043f\u0447\u0443. \u0412\u0432\u0435\u0434\u044f \u0435\u0435, \u043d\u0430\u043c \u0434\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u2014 \u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u0442.<br \/>  \u0418\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u044d\u0442\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430\u0431\u0440\u043e\u0441\u043e\u043a \u043f\u043b\u0430\u043d\u0430 \u043d\u0430\u0448\u0435\u0433\u043e \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430:<br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/6c8\/6f8\/b2f\/6c86f8b2fe026e99b1af8a9cdaaeab13.jpg\" alt=\"image\"\/><\/p>\n<h5>\u0412\u044b\u0431\u043e\u0440 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430<\/h5>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0441\u044f \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u2014 \u0441\u0442\u0430\u043b \u0432\u043e\u043f\u0440\u043e\u0441 \u043e \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0435\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0435. \u0421\u0440\u0430\u0437\u0443 \u0445\u043e\u0447\u0443 \u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c\u0441\u044f, \u044f \u043d\u0435 \u044f\u0432\u043b\u044f\u044e\u0441\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u043c, \u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0449\u0438\u043a. \u041d\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u043d\u0430\u043d\u0438\u044f \u044f\u0437\u044b\u043a\u043e\u0432 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442. <br \/>  \u0412 \u0441\u0430\u043c\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u0435 \u044f \u0445\u043e\u0442\u0435\u043b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430 TestComplete. \u041f\u043e\u0441\u043b\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438, \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u044b\u043b\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u0434\u0430 \u0438 \u043f\u043b\u044e\u0441 \u043a\u043e \u0432\u0441\u0435\u043c\u0443 \u044f \u044e\u0437\u0430\u043b \u0441\u0442\u0430\u0440\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0442\u0435\u0441\u0442\u043a\u043e\u043c\u043f\u043b\u0438\u0442\u0430 7.5, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c \u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c Mozzila 3.5. \u0421\u0430\u043c\u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442\u0435, \u0447\u0442\u043e \u0432 \u0442\u0430\u043a\u043e\u043c \u0441\u0442\u0430\u0440\u043e\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0445\u0440\u043e\u043c\u0430\u0435\u0442, \u0434\u0430 \u0438 \u0432\u0435\u0440\u0441\u0442\u043a\u0430 \u043c\u0435\u0441\u0442\u0430\u043c\u0438 \u0435\u0434\u0435\u0442. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u044f \u0437\u0430\u0431\u0438\u043b \u0438 \u043f\u0440\u0438\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0441\u044f \u043a Selenium WebDriver.<br \/>  \u042f\u0437\u044b\u043a\u043e\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0431\u044b\u043b \u0432\u044b\u0431\u0440\u0430\u043d Python. \u0412\u044b\u0431\u043e\u0440 \u043f\u0430\u043b \u043d\u0430 \u043d\u0435\u0433\u043e \u043f\u043e \u043e\u0434\u043d\u043e\u0439 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435, \u044f \u0431\u044b\u043b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u043a\u043e\u043c \u0441 \u0434\u0430\u043d\u043d\u044b\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c, \u0430 \u043b\u0435\u0437\u0442\u044c \u0432 Java, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0438 \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u0435\u0433\u043e \u043d\u0435 \u0431\u044b\u043b\u043e \u043d\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043d\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u044f.<\/p>\n<h5>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u043a\u0430\u043f\u0447\u0435\u0439<\/h5>\n<p>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043d\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043e\u0441\u043e\u0431\u043e\u0433\u043e \u0442\u0440\u0443\u0434\u0430, \u043d\u043e \u0432\u0441\u0435 \u043f\u043e\u0440\u0442\u0438\u0442 \u043d\u0435\u043d\u0430\u0432\u0438\u0441\u0442\u043d\u0430\u044f \u043a\u0430\u043f\u0447\u0430. \u0412\u0441\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u043b\u0430\u0441\u044c \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043a\u0430\u043f\u0447\u0438 \u0441 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0437 \u0432 \u043e\u0434\u0438\u043d-\u0434\u0432\u0430 \u043c\u0435\u0441\u044f\u0446\u0430 \u043c\u0435\u043d\u044f\u043b\u0438\u0441\u044c \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u0431\u044b\u043b\u043e \u0441\u043c\u044b\u0441\u043b\u0430 \u043f\u0440\u043e\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u0440\u0430\u0437\u0433\u0430\u0434\u044b\u0432\u0430\u043d\u0438\u044f \u043a\u0430\u043f\u0447\u0438 (\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432, \u043c\u0430\u0441\u043e\u043a \u0438 \u0442.\u0434.). \u041f\u043e \u044d\u0442\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u044f \u0440\u0435\u0448\u0438\u043b \u0437\u0430\u044e\u0437\u0430\u0442\u044c antigate. <br \/>  \u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0432\u0448\u0438\u0441\u044c \u0442\u0430\u043c \u0438 \u0437\u0430\u043a\u0438\u043d\u0443\u0432 3 \u0434\u043e\u043b\u043b\u0430\u0440\u0430, \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043d\u0430 3000 \u043a\u0430\u043f\u0447. <br \/>  \u041d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0434\u0443\u043c\u0430\u0442\u044c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u043e\u0439 \u043a\u0430\u043f\u0447\u0438, \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0435\u0435 \u043d\u0430 \u0430\u043d\u0442\u0438\u0433\u0435\u0439\u0442 \u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043a\u0430\u043f\u0447\u0438. \u0412\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u043e \u044d\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/e17\/d70\/be0\/e17d70be0f11bd66d9ecc0f404f65436.jpg\" alt=\"image\"\/><br \/>  \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0430\u043d\u0442\u0438\u0433\u0435\u0439\u0442\u043e\u043c \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b API \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 PHP server, \u043d\u0435 \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u044f\u0441\u044c \u0432\u044b\u0431\u043e\u0440 \u043f\u0430\u043b \u043d\u0430 Denwer. \u0421\u043e\u0437\u0434\u0430\u043b \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0430\u0439\u0442 test1.ru \u0438 \u0437\u0430\u043a\u0438\u043d\u0443\u043b \u0442\u0443\u0434\u0430 php \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 API \u0441\u0435\u0440\u0432\u0438\u0441\u0430.<br \/>  \u041b\u0438\u0441\u0442\u0438\u043d\u0433 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b   <\/p>\n<pre><code class=\"php\">&lt;?php function recognize(     $filename,     $apikey,     $is_verbose = true,     $sendhost = &quot;antigate.com&quot;,     $rtimeout = 10,     $is_phrase = 0,     $is_regsense = 1,     $is_numeric = 0,     $min_len = 4,     $max_len = 4,     $is_russian = 1) {     if (!file_exists($filename))     {         if ($is_verbose) echo &quot;&lt;b&gt;file $filename not found&lt;\/b&gt;&quot;;         return false;     }     $fp=fopen($filename,&quot;r&quot;);     if ($fp!=false)     {         $body=&quot;&quot;;         while (!feof($fp)) $body.=fgets($fp,1024);         fclose($fp);         $ext=strtolower(substr($filename,strpos($filename,&quot;.&quot;)+1));     }     else     {         if ($is_verbose) echo &quot;&lt;b&gt;could not read file $filename&lt;b&gt;&quot;;         return false;     }      if ($ext==&quot;jpg&quot;) $conttype=&quot;image\/pjpeg&quot;;     if ($ext==&quot;gif&quot;) $conttype=&quot;image\/gif&quot;;     if ($ext==&quot;png&quot;) $conttype=&quot;image\/png&quot;;       $boundary=&quot;---------FGf4Fh3fdjGQ148fdh&quot;;      $content=&quot;--$boundary\\r\\n&quot;;     $content.=&quot;Content-Disposition: form-data; name=\\&quot;method\\&quot;\\r\\n&quot;;     $content.=&quot;\\r\\n&quot;;     $content.=&quot;post\\r\\n&quot;;     $content.=&quot;--$boundary\\r\\n&quot;;     $content.=&quot;Content-Disposition: form-data; name=\\&quot;key\\&quot;\\r\\n&quot;;     $content.=&quot;\\r\\n&quot;;     $content.=&quot;$apikey\\r\\n&quot;;     $content.=&quot;--$boundary\\r\\n&quot;;     $content.=&quot;Content-Disposition: form-data; name=\\&quot;phrase\\&quot;\\r\\n&quot;;     $content.=&quot;\\r\\n&quot;;     $content.=&quot;$is_phrase\\r\\n&quot;;     $content.=&quot;--$boundary\\r\\n&quot;;     $content.=&quot;Content-Disposition: form-data; name=\\&quot;regsense\\&quot;\\r\\n&quot;;     $content.=&quot;\\r\\n&quot;;     $content.=&quot;$is_regsense\\r\\n&quot;;     $content.=&quot;--$boundary\\r\\n&quot;;     $content.=&quot;Content-Disposition: form-data; name=\\&quot;numeric\\&quot;\\r\\n&quot;;     $content.=&quot;\\r\\n&quot;;     $content.=&quot;$is_numeric\\r\\n&quot;;     $content.=&quot;--$boundary\\r\\n&quot;;     $content.=&quot;Content-Disposition: form-data; name=\\&quot;min_len\\&quot;\\r\\n&quot;;     $content.=&quot;\\r\\n&quot;;     $content.=&quot;$min_len\\r\\n&quot;;     $content.=&quot;--$boundary\\r\\n&quot;;     $content.=&quot;Content-Disposition: form-data; name=\\&quot;max_len\\&quot;\\r\\n&quot;;     $content.=&quot;\\r\\n&quot;;     $content.=&quot;$max_len\\r\\n&quot;;     $content.=&quot;--$boundary\\r\\n&quot;;     $content.=&quot;Content-Disposition: form-data; name=\\&quot;is_russian\\&quot;\\r\\n&quot;;     $content.=&quot;\\r\\n&quot;;     $content.=&quot;$is_russian\\r\\n&quot;;     $content.=&quot;--$boundary\\r\\n&quot;;     $content.=&quot;Content-Disposition: form-data; name=\\&quot;file\\&quot;; filename=\\&quot;capcha.$ext\\&quot;\\r\\n&quot;;     $content.=&quot;Content-Type: $conttype\\r\\n&quot;;     $content.=&quot;\\r\\n&quot;;     $content.=$body.&quot;\\r\\n&quot;;     $content.=&quot;--$boundary--&quot;;       $poststr=&quot;POST http:\/\/$sendhost\/in.php HTTP\/1.0\\r\\n&quot;;     $poststr.=&quot;Content-Type: multipart\/form-data; boundary=$boundary\\r\\n&quot;;     $poststr.=&quot;Host: $sendhost\\r\\n&quot;;     $poststr.=&quot;Content-Length: &quot;.strlen($content).&quot;\\r\\n\\r\\n&quot;;     $poststr.=$content;       $fp=fsockopen($sendhost,80,$errno,$errstr,30);     if ($fp!=false)     {         fputs($fp,$poststr);         $resp=&quot;&quot;;         while (!feof($fp)) $resp.=fgets($fp,1024);         fclose($fp);         $result=substr($resp,strpos($resp,&quot;\\r\\n\\r\\n&quot;)+4);     }     else     {         if ($is_verbose) echo &quot;&lt;b&gt;could not connect to anti-captcha&lt;\/b&gt;&quot;;         if ($is_verbose) echo &quot;&lt;b&gt;socket error: $errno ( $errstr )&lt;\/b&gt;&quot;;         return false;     }      if (strpos($result, &quot;ERROR&quot;)!==false or strpos($result, &quot;&lt;HTML&gt;&quot;)!==false)     {         if ($is_verbose) echo &quot;&lt;b&gt;server returned error: $result&lt;\/b&gt;&quot;;         return false;     }     else     {         $ex = explode(&quot;|&quot;, $result);         $captcha_id = $ex[1];         if ($is_verbose) echo &quot;&lt;b&gt;$captcha_id&lt;\/b&gt;&quot;;     } }  $text=recognize(&quot;captcha.png&quot;,&quot;\u0417\u0434\u0435\u0441\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c&quot;,true,&quot;antigate.com&quot;); ?&gt; <\/code><\/pre>\n<p>  \u042f \u043d\u0435 \u0441\u0442\u0430\u043b \u0434\u043e\u0441\u043a\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u043a \u0447\u0435\u043c\u0443, \u043d\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435, \u0447\u0442\u043e \u044f \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u043b \u2014 \u044d\u0442\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:   <\/p>\n<pre><code class=\"php\">    $is_phrase = 0, \/\/\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u0432\u0430\u0448\u0430 \u043a\u0430\u043f\u0447\u0430 \u0444\u0440\u0430\u0437\u043e\u0439     $is_regsense = 1, \/\/\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u0430\u044f \u0438\u043b\u0438 \u043d\u0435\u0442?     $is_numeric = 0, \/\/\u0421\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0446\u0438\u0444\u0440?     $min_len = 4, \/\/\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043b\u0438\u043d\u043d\u0430     $max_len = 4, \/\/\u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043b\u0438\u043d\u043d\u0430     $is_russian = 1 \/\/\u0435\u0441\u0442\u044c \u043b\u0438 \u0440\u0443\u0441\u0441\u043a\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b <\/code><\/pre>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 captcha.png \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e, \u0433\u0434\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f index.php \u0438 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043f\u043e \u0443\u0440\u043b\u0443 test1.ru <br \/>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043a\u0430\u043f\u0447\u0430 \u043f\u043e\u043b\u0435\u0442\u0438\u0442 \u043d\u0430 \u0441\u0435\u0440\u0432\u0438\u0441, \u043a\u043e\u0433\u0434\u0430 \u043e\u043d\u0430 \u0440\u0430\u0437\u0433\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442 \u0435\u0435 id, \u043e\u0431\u0440\u0430\u043c\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 \u0442\u0435\u0433 b, \u043b\u0438\u0431\u043e \u043f\u0440\u0438\u0434\u0435\u0442 \u043a\u0430\u043a\u0430\u044f-\u043d\u0438\u0431\u0443\u0434\u044c \u043e\u0448\u0438\u0431\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c\u0441\u044f.<br \/>  \u041e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u0434\u0435\u043b\u043e \u0437\u0430 \u043c\u0430\u043b\u044b\u043c, \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0431\u0440\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a\u0430\u043f\u0447\u0438 \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u043e \u0435\u0435 id.<\/p>\n<h5>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 <\/h5>\n<p>  \u0422.\u043a. \u0432\u0441\u0435 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438 \u0441\u0434\u0435\u043b\u0430\u043d\u044b, \u0442\u043e \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430.<br \/>  \u0420\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0441 \u0434\u0432\u0443\u043c\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c\u0438 \u043e\u043a\u043d\u0430\u043c\u0438 Firefox. \u0422.\u043a. \u0432 \u043e\u0434\u043d\u043e\u043c \u043e\u043a\u043d\u0435 \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0447\u0435\u043a \u0434\u0430\u0442, \u0430 \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u0430\u043f\u0447\u0438. \u0414\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043a\u0430\u043f\u0447\u0438 \u0432 \u043d\u043e\u0432\u043e\u043c \u043e\u043a\u043d\u0435, \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u0441\u0430\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043f\u043e id \u0438 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0443\u0440\u043b \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u043a\u0430\u043f\u0447\u0438. \u041f\u0440\u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u0443\u0440\u043b, \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043a\u0430\u043f\u0447\u0438, \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.<br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/6a4\/548\/c57\/6a4548c5786e0e88fa84d3d6f6ec98af.jpg\" alt=\"image\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043b\u0438\u0441\u0442\u0438\u043d\u0433 \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438:  <\/p>\n<pre><code class=\"python\">from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait import time  driver = webdriver.Firefox() #\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u0435\u0440\u0432\u043e\u0435 \u043e\u043a\u043d\u043e (\u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0435) add_driver = webdriver.Firefox() #\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u043d\u043e \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043a\u0430\u043f\u0447\u0435\u0439 driver.get(&quot;https:\/\/by.e-konsulat.gov.pl\/Uslugi\/RejestracjaTerminu.aspx?IDUSLUGI=1&IDPlacowki=94&quot;) #\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 \u043d\u0430\u0448 \u0443\u0440\u043b captcha_url = driver.find_element_by_id('c_uslugi_rejestracjaterminu_ctl00_cp_botdetectcaptcha_CaptchaImage').get_attribute('src') #\u041d\u0430\u0445\u043e\u0434\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u0430\u043f\u0447\u0438 \u043f\u043e \u0435\u0433\u043e id \u0438 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c \u0443\u0440\u043b, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435  add_driver.get(captcha_url) #\u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u043e\u043a\u043e\u0448\u043a\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u043d\u0430\u0448\u0443 \u043a\u0430\u043f\u0447\u0443 add_driver.set_window_size(50,200) #\u0434\u0435\u043b\u0430\u0435\u043c \u0440\u0435\u0441\u0430\u0439\u0437 \u043e\u043a\u043d\u0430 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442 \u0438\u043c\u0435\u043d\u043d\u043e \u043a\u0430\u043f\u0447\u0438, \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0438\u0445 \u0441\u0435\u0440\u044b\u0445 \u043f\u043e\u043b\u0435\u0439 add_driver.get_screenshot_as_file('captcha.png') #\u0434\u0435\u043b\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442 \u043e\u043a\u043d\u0430, \u0432 \u0438\u0442\u043e\u0433\u0435 \u043d\u0430 \u043d\u0430\u0448\u0435\u043c \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435 \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u043f\u0447\u0430 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0435\u0433\u043e \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 test1.ru, \u0442.\u043a. \u0443 \u043c\u0435\u043d\u044f \u0441\u043a\u0440\u0438\u043f\u0442 \u043b\u0435\u0436\u0438\u0442 \u0442\u0430\u043c\u0436\u0435, \u0442\u043e \u043f\u0443\u0442\u044c \u043d\u0435 \u043f\u0438\u0441\u0430\u043b add_driver.get(http:\/\/test1.ru) #\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 \u0443\u0440\u043b \u043d\u0430\u0448\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0438, \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0430\u043d\u0442\u0438\u0433\u0435\u0439\u0442\u043e\u043c captcha_id = add_driver.find_element_by_xpatch('\/\/b') #\u043d\u0430\u0445\u043e\u0434\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0431\u0440\u0430\u043c\u043b\u0435\u043d \u0432 \u0442\u0435\u0433 b, \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u044f ,\u0447\u0442\u043e \u0442\u0430\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 id \u043a\u0430\u043f\u0447\u0438 count = false while (count = false)     add_driver.get('http:\/\/antigate.com\/res.php?key=\u041a\u043b\u044e\u0447 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0430\u043d\u0442\u0438\u0433\u0435\u0439\u0442\u043e\u043c&action=get&id=&quot; + captcha_id)     captcha_complete = add_driver.find_element_by_xpatch('\/\/pre').text # \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u043d\u0430\u0448\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 (\u043d\u0430 \u0430\u043d\u0442\u0438\u0433\u0435\u0439\u0442\u0435 \u043e\u043d\u043e \u043e\u0431\u0440\u0430\u043c\u043b\u0435\u043d\u043e \u0432 \u0442\u0435\u0433 pre)     if (captcha_complete.find('ERROR') &gt;= 0) #\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0432\u044b\u0441\u043a\u043e\u0447\u0438\u043b\u0430 \u043b\u0438 \u043e\u0448\u0438\u0431\u043a\u0430         time.sleep(5) #\u0441\u043f\u0438\u043c 5 \u0441\u0435\u043a\u0443\u043d\u0434     else         count = true #\u0432\u044b\u0445\u043e\u0434\u0438\u043c \u0438\u0437 \u0446\u0438\u043a\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 # \u0442\u0435\u043f\u0435\u0440\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0430\u0448\u0435\u0439 \u043a\u0430\u043f\u0447\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439  captcha_complete, \u0435\u0433\u043e \u0438 \u0432\u0432\u043e\u0434\u0438\u043c \u0432 \u0438\u043d\u043f\u0443\u0442  driver.find_element_by_id('ctl00_cp_BotDetectCaptchaCodeTextBox').send_keys(captcha_complete) #\u043d\u0430\u0445\u043e\u0434\u0438\u043c \u043d\u0430\u0448 \u0438\u043d\u043f\u0443\u0442 \u0438 \u0432\u0432\u043e\u0434\u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a\u0430\u043f\u0447\u0438 driver.find_element_by_id('ctl00_cp_btnDalej').click() #\u043d\u0430\u0445\u043e\u0434\u0438\u043c \u043a\u043d\u043e\u043f\u043a\u0443 \u0434\u0430\u043b\u0435\u0435 \u0438 \u043a\u043b\u0438\u043a\u0430\u0435\u043c \u043d\u0430 \u043d\u0435\u0435 result = driver.find_element_by_id('ctl00_cp_lblBrakTerminow').text if (result.find('\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435') &gt;= 0)     print('\u041d\u0435\u0442 \u0434\u0430\u0442\u044b') else     print('\u0414\u0430\u0442\u0430 \u0435\u0441\u0442\u044c') <\/code><\/pre>\n<h5>\u0411\u0443\u0434\u0443\u0449\u0438\u0435 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f<\/h5>\n<p>  \u041e\u0441\u043d\u043e\u0432\u0430 \u0433\u043e\u0442\u043e\u0432\u0430, \u043d\u0430\u0448 \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043a\u0430\u043f\u0447\u0443, \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0435\u0442 \u0435\u0435 \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u0440\u0432\u0438\u0441 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u044f, \u0432\u0432\u043e\u0434\u0438\u0442 \u043a\u0430\u043f\u0447\u0443, \u043a\u043b\u0438\u043a\u0430\u0435\u0442 \u0434\u0430\u043b\u0435\u0435 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0434\u0430\u0442\u044b. \u0414\u043b\u044f \u0441\u0435\u0431\u044f \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u2014 \u0437\u0430\u0433\u043d\u0430\u043b \u0432\u0441\u0435 \u044d\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0432 \u0446\u0438\u043a\u043b while (true) \u0438 \u0447\u0435\u043a\u0430\u043b \u0441\u0430\u0439\u0442, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u043b\u043e\u0432\u0438\u043b\u0430\u0441\u044c \u0434\u0430\u0442\u0430 (\u0442\u0430\u043a\u0436\u0435 \u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u043f\u0438\u0441\u044c\u043c\u0430 \u043d\u0430 \u043c\u044b\u043b\u043e, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430). \u0414\u043e\u0440\u0430\u0431\u043e\u0442\u043e\u043a \u043f\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0443 \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u043c\u043d\u043e\u0433\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<br \/>  1) \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0438 \u0438 \u0438\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u043e\u0448\u0438\u0431\u043e\u043a \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f<br \/>  2) \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043d\u0430 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0443\u044e \u043a\u0430\u043f\u0447\u0443 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u0440\u0435\u043f\u043e\u0440\u0442\u0430 \u043d\u0430 \u0430\u043d\u0442\u0438\u0433\u0435\u0439\u0442 (\u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u043b\u043e\u0445\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u043d\u0438\u043a\u0430)<br \/>  3) \u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0430\u0432\u0442\u043e\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0447\u0435\u043a\u0435\u0440 \u0434\u0430\u0442\u044b<br \/>  \u0438 \u0442.\u0434.<\/p>\n<h5>\u041f\u043e\u0441\u043b\u0435\u0441\u043b\u043e\u0432\u0438\u0435<\/h5>\n<p>  \u0415\u0449\u0435 \u0440\u0430\u0437 \u0445\u043e\u0447\u0443 \u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0441\u043b\u0430\u0431\u043e\u0432\u0430\u0442, \u043d\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u0442 \u043d\u0435\u0433\u043e \u0431\u044b\u043b. \u0422\u0430\u043a\u0436\u0435 \u0441\u0442\u043e\u0438\u0442 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0432 \u043f\u043e\u0441\u043e\u043b\u044c\u0441\u0442\u0432\u0435 \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0434\u0443\u0440\u0430\u043a\u0438 \u0441\u0438\u0434\u044f\u0442 \u0438 \u0447\u0430\u0441\u0442\u043e \u043c\u0435\u043d\u044f\u044e\u0442 \u043a\u0430\u043f\u0447\u0443, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u043e\u0434 \u043d\u043e\u0432\u044b\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f. \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/190870\/\"> http:\/\/habrahabr.ru\/post\/190870\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">\n<h5>\u041f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435:<\/h5>\n<p>  \u0412 \u0411\u0435\u043b\u0430\u0440\u0443\u0441\u0438 \u0441\u0442\u043e\u0438\u0442 \u043e\u0441\u0442\u0440\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435\u043c \u0432\u0438\u0437 \u0432 \u0415\u0432\u0440\u043e\u0437\u043e\u043d\u0443 (\u0442.\u0435. \u0428\u0435\u043d\u0433\u0435\u043d). \u0412\u0441\u0435 \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u041f\u043e\u043b\u044c\u0441\u043a\u043e\u0435 \u043f\u043e\u0441\u043e\u043b\u044c\u0441\u0442\u0432\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 \u043c\u0443\u043b\u044c\u0442\u0438-\u0432\u0438\u0437\u044b \u0437\u0430 \u043f\u043e\u043a\u0443\u043f\u043a\u0430\u043c\u0438 (\u0442.\u0435. \u043c\u043d\u043e\u0433\u043e\u043a\u0440\u0430\u0442\u043d\u044b\u0435). \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043e\u043b\u044c\u0441\u0442\u0432\u0430 \u043e\u043d\u043b\u0430\u0439\u043d. \u041d\u043e \u0432\u0441\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u0442 \u043d\u0435 \u0441\u043b\u043e\u0432\u0438\u0442\u044c. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2014 \u043a\u0440\u0443\u0433\u043b\u043e\u0441\u0443\u0442\u043e\u0447\u043d\u043e \u0447\u0435\u043a\u0430\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0438 \u0435\u0441\u043b\u0438 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0434\u0430\u0442\u0430 \u2014 \u0431\u044b\u0441\u0442\u0440\u043e \u00ab\u043b\u043e\u0432\u0438\u0442\u044c\u00bb \u0435\u0435 \u0438 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0442\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044e. \u0422.\u043a. \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0434\u043b\u044f \u043a\u0440\u0443\u0433\u043b\u043e\u0441\u0443\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0447\u0435\u043a\u0430 \u043d\u0435\u0442, \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043e\u0431 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430.<br \/>  \u0421\u0440\u0430\u0437\u0443 \u043e\u0433\u043e\u0432\u043e\u0440\u044e\u0441\u044c, \u0447\u0442\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u043b\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u0442\u044b \u0438 \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043b\u044e\u0434\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0434\u0435\u043d\u044c\u0433\u0438. \u041c\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0435 \u043f\u0440\u0435\u0442\u0435\u043d\u0434\u0443\u0435\u0442 \u043d\u0430 \u0438\u0445 \u043c\u0435\u0441\u0442\u043e \u043f\u043e \u0431\u044b\u0441\u0442\u0440\u043e\u0442\u0435, \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0443 \u0438 \u0442.\u0434. \u0414\u0430\u043d\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0431\u044b\u043b \u0441\u0434\u0435\u043b\u0430\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0441\u0435\u0431\u044f, \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0439 \u0438 \u0438\u043d\u043e\u0439 \u0432\u044b\u0433\u043e\u0434\u044b \u044f \u043d\u0435 \u043f\u0440\u0435\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043b.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-190870","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/190870","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=190870"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/190870\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=190870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=190870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=190870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}