{"id":40910,"date":"2016-09-28T10:58:25","date_gmt":"2016-09-28T05:28:25","guid":{"rendered":"https:\/\/tothenewco.pro\/blog\/?p=40910"},"modified":"2016-12-19T15:04:03","modified_gmt":"2016-12-19T09:34:03","slug":"protractor-with-jenkins-and-headless-chrome-xvfb-setup","status":"publish","type":"post","link":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/","title":{"rendered":"Protractor with Jenkins and Headless Chrome (Xvfb) Setup"},"content":{"rendered":"<p><strong>&#8220;Protractor<\/strong> is an end-to-end test framework for <a title=\"Angular.js development\" href=\"https:\/\/tothenewco.pro\/front-end-angularjs-development\">AngularJS applications<\/a>. Protractor is to run one or multiple tests against your application running in a real browser, interacting with it as a user would.&#8221;<\/p>\n<p>It is easier to check on GUI based system because it launches a browser automatically during the test.<\/p>\n<p>But what about non-GUI? For example, we need to setup it up on Linux server in non-GUI mode or Jenkins server for CI\/CD. It is possible through Xvfb.<\/p>\n<p>&#8220;<strong>Xvfb<\/strong> (X virtual framebuffer) is an in-memory display server used in a\u00a0UNIX-like OS \u00a0(e.g., Linux). Xvfb\u00a0enables one to run graphical applications without a display.&#8221;<\/p>\n<p>Below are the steps which can help us to run Protractor test in non-GUI mode.<\/p>\n<p><strong>Prerequisites<\/strong><\/p>\n<p>1: &#8211; Install JAVA<br \/>\n2: &#8211; Install Jenkins and a configured build section in Jenkins job<br \/>\n3: &#8211; Installed NodeJS<\/p>\n<p><strong>Install Protractor and Selenium WebDriver<\/strong><\/p>\n<p>[js]curl -sL https:\/\/deb.nodesource.com\/setup_0.12 | sudo bash &#8211;<br \/>\nnpm install protractor -g<br \/>\nln \/usr\/lib\/node_modules\/protractor\/selenium\/chromedriver \/usr\/bin\/chromedriver<br \/>\nwebdriver-manager update<br \/>\nwebdriver-manager start[\/js]<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-40913 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/Untitled1.png\" alt=\"Untitled\" width=\"1607\" height=\"415\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/Untitled1.png 1607w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/Untitled1-300x77.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/Untitled1-1024x264.png 1024w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2016\/09\/Untitled1-624x161.png 624w\" sizes=\"auto, (max-width: 1607px) 100vw, 1607px\" \/><br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nNote: webdriver- If protractor installation fails with an error, Please check the ownership for logged in user, then execute above commands again<br \/>\nchown -R $(whoami) ~\/.npm<br \/>\nchown -R $(whoami) \/usr\/local\/lib\/node_modules<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p><strong>Setup Headless Chrome browser<\/strong><\/p>\n<p>[js]<br \/>\necho &quot;deb  stable main&quot; | sudo tee -a \/etc\/apt\/sources.list<br \/>\nwget -q -O &#8211; https:\/\/dl-ssl.google.com\/linux\/linux_signing_key.pub | sudo apt-key add &#8211;<br \/>\napt-get update<br \/>\napt-get install libxpm4 libxrender1 libgtk2.0-0 libnss3 libgconf-2-4<br \/>\napt-get install google-chrome-stable<br \/>\napt-get install xvfb gtk2-engines-pixbuf<br \/>\napt-get install xfonts-cyrillic xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable<br \/>\napt-get install imagemagick x11-apps dbus-x11<br \/>\n[\/js]<\/p>\n<p><strong>To launch the web driver with Xvfb at backend<br \/>\n<\/strong><br \/>\nScript is present in \u00a0\/etc\/init.d\/selenium:<\/p>\n<pre>#!\/bin\/sh\r\nXvfb -ac :99 -screen 0 1280x1024x16 &amp;\r\n#disown $1\r\nexport DISPLAY=:99\r\nwebdriver-manager start \/dev\/null 2&gt;&amp;1<\/pre>\n<p>Execute this script and verify the service on Port <strong>4444<\/strong>.<\/p>\n<p>Now, login into Jenkins and select associated job, where need to run this Protractor test.<\/p>\n<p>In <strong>Post Build<\/strong> section (execute shell) enter the following:<\/p>\n<p>[js]cd $CODE_PATH<br \/>\nprotractor protractor_conf.js[\/js]<\/p>\n<p>Hope this helps you to integrate protractor with Jenkins. Xvfb may be useful for other browser dependent applications in non-GUI mode.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Protractor is an end-to-end test framework for AngularJS applications. Protractor is to run one or multiple tests against your application running in a real browser, interacting with it as a user would.&#8221; It is easier to check on GUI based system because it launches a browser automatically during the test. But what about non-GUI? For [&hellip;]<\/p>\n","protected":false},"author":959,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":24,"footnotes":""},"categories":[1439,1818,1,1816],"tags":[955,4048,4049],"class_list":["post-40910","post","type-post","status-publish","format-standard","hentry","category-angular","category-automation-testing-testing-2","category-technology","category-testing-2","tag-angularjs","tag-protractor-with-jenkins","tag-xvfb"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"&quot;Protractor is an end-to-end test framework for AngularJS applications. Protractor is to run one or multiple tests against your application running in a real browser, interacting with it as a user would.&quot; It is easier to check on GUI based system because it launches a browser automatically during the test. But what about non-GUI? For\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Mohit Kumar\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Protractor with Jenkins and Headless Chrome (Xvfb) Setup | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"&quot;Protractor is an end-to-end test framework for AngularJS applications. Protractor is to run one or multiple tests against your application running in a real browser, interacting with it as a user would.&quot; It is easier to check on GUI based system because it launches a browser automatically during the test. But what about non-GUI? For\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Protractor with Jenkins and Headless Chrome (Xvfb) Setup | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"&quot;Protractor is an end-to-end test framework for AngularJS applications. Protractor is to run one or multiple tests against your application running in a real browser, interacting with it as a user would.&quot; It is easier to check on GUI based system because it launches a browser automatically during the test. But what about non-GUI? For\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\\\/#article\",\"name\":\"Protractor with Jenkins and Headless Chrome (Xvfb) Setup | TO THE NEW Blog\",\"headline\":\"Protractor with Jenkins and Headless Chrome (Xvfb) Setup\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit-kumar2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2016\\\/09\\\/Untitled1.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\\\/#articleImage\"},\"datePublished\":\"2016-09-28T10:58:25+05:30\",\"dateModified\":\"2016-12-19T15:04:03+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\\\/#webpage\"},\"articleSection\":\"AngularJS, Automation Testing, Technology, Testing, AngularJS, protractor with jenkins, Xvfb\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\\\/#listItem\",\"name\":\"Protractor with Jenkins and Headless Chrome (Xvfb) Setup\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\\\/#listItem\",\"position\":3,\"name\":\"Protractor with Jenkins and Headless Chrome (Xvfb) Setup\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit-kumar2\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit-kumar2\\\/\",\"name\":\"Mohit Kumar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d685ba0c62a1c9a7a463d6ae4d6b7ef15f07b29e4ed4dbec1c8afd97eab600c?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Mohit Kumar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\\\/\",\"name\":\"Protractor with Jenkins and Headless Chrome (Xvfb) Setup | TO THE NEW Blog\",\"description\":\"\\\"Protractor is an end-to-end test framework for AngularJS applications. Protractor is to run one or multiple tests against your application running in a real browser, interacting with it as a user would.\\\" It is easier to check on GUI based system because it launches a browser automatically during the test. But what about non-GUI? For\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit-kumar2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/mohit-kumar2\\\/#author\"},\"datePublished\":\"2016-09-28T10:58:25+05:30\",\"dateModified\":\"2016-12-19T15:04:03+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Protractor with Jenkins and Headless Chrome (Xvfb) Setup | TO THE NEW Blog","description":"\"Protractor is an end-to-end test framework for AngularJS applications. Protractor is to run one or multiple tests against your application running in a real browser, interacting with it as a user would.\" It is easier to check on GUI based system because it launches a browser automatically during the test. But what about non-GUI? For","canonical_url":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/#article","name":"Protractor with Jenkins and Headless Chrome (Xvfb) Setup | TO THE NEW Blog","headline":"Protractor with Jenkins and Headless Chrome (Xvfb) Setup","author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/mohit-kumar2\/#author"},"publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2016\/09\/Untitled1.png","@id":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/#articleImage"},"datePublished":"2016-09-28T10:58:25+05:30","dateModified":"2016-12-19T15:04:03+05:30","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/#webpage"},"isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/#webpage"},"articleSection":"AngularJS, Automation Testing, Technology, Testing, AngularJS, protractor with jenkins, Xvfb"},{"@type":"BreadcrumbList","@id":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","position":1,"name":"Home","item":"https:\/\/tothenewco.pro\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/tothenewco.pro\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/#listItem","name":"Protractor with Jenkins and Headless Chrome (Xvfb) Setup"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/#listItem","position":3,"name":"Protractor with Jenkins and Headless Chrome (Xvfb) Setup","previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/tothenewco.pro\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/tothenewco.pro\/blog\/"},{"@type":"Person","@id":"https:\/\/tothenewco.pro\/blog\/author\/mohit-kumar2\/#author","url":"https:\/\/tothenewco.pro\/blog\/author\/mohit-kumar2\/","name":"Mohit Kumar","image":{"@type":"ImageObject","@id":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/2d685ba0c62a1c9a7a463d6ae4d6b7ef15f07b29e4ed4dbec1c8afd97eab600c?s=96&d=mm&r=g","width":96,"height":96,"caption":"Mohit Kumar"}},{"@type":"WebPage","@id":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/#webpage","url":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/","name":"Protractor with Jenkins and Headless Chrome (Xvfb) Setup | TO THE NEW Blog","description":"\"Protractor is an end-to-end test framework for AngularJS applications. Protractor is to run one or multiple tests against your application running in a real browser, interacting with it as a user would.\" It is easier to check on GUI based system because it launches a browser automatically during the test. But what about non-GUI? For","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/#breadcrumblist"},"author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/mohit-kumar2\/#author"},"creator":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/mohit-kumar2\/#author"},"datePublished":"2016-09-28T10:58:25+05:30","dateModified":"2016-12-19T15:04:03+05:30"},{"@type":"WebSite","@id":"https:\/\/tothenewco.pro\/blog\/#website","url":"https:\/\/tothenewco.pro\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Protractor with Jenkins and Headless Chrome (Xvfb) Setup | TO THE NEW Blog","og:description":"&quot;Protractor is an end-to-end test framework for AngularJS applications. Protractor is to run one or multiple tests against your application running in a real browser, interacting with it as a user would.&quot; It is easier to check on GUI based system because it launches a browser automatically during the test. But what about non-GUI? For","og:url":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/","og:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Protractor with Jenkins and Headless Chrome (Xvfb) Setup | TO THE NEW Blog","twitter:description":"&quot;Protractor is an end-to-end test framework for AngularJS applications. Protractor is to run one or multiple tests against your application running in a real browser, interacting with it as a user would.&quot; It is easier to check on GUI based system because it launches a browser automatically during the test. But what about non-GUI? For","twitter:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"40910","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 13:11:15","updated":"2024-02-29 08:43:24","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tProtractor with Jenkins and Headless Chrome (Xvfb) Setup\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tothenewco.pro\/blog"},{"label":"Technology","link":"https:\/\/tothenewco.pro\/blog\/category\/technology\/"},{"label":"Protractor with Jenkins and Headless Chrome (Xvfb) Setup","link":"https:\/\/tothenewco.pro\/blog\/protractor-with-jenkins-and-headless-chrome-xvfb-setup\/"}],"_links":{"self":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/40910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/users\/959"}],"replies":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/comments?post=40910"}],"version-history":[{"count":0,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/40910\/revisions"}],"wp:attachment":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/media?parent=40910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/categories?post=40910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/tags?post=40910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}