{"id":166203,"date":"2019-03-11T11:52:12","date_gmt":"2019-03-11T11:52:12","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=166203"},"modified":"2021-07-16T13:45:26","modified_gmt":"2021-07-16T13:45:26","slug":"ui-testing-using-puppeteer","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/","title":{"rendered":"UI testing using Puppeteer"},"content":{"rendered":"\n<p>Puppeteer is emerging as one of the prominent automation testing tool developed around <strong><a href=\"https:\/\/chromedevtools.github.io\/devtools-protocol\/\">DevTools protocol.<\/a><\/strong>&nbsp;It is a Node library which provides a high-level API to control Chrome.<\/p>\n\n\n\n<p>Puppeteer provide the headless browser functionality by default. We can also configure the Puppeteer to run non-headless Chrome. The only drawback with Puppeteer is that it works for Chrome only.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Now, what is <strong>headless browsing<\/strong>??<\/h4>\n\n\n\n<p>A&nbsp;<strong class=\"markup--strong markup--p-strong\">headless browser<\/strong>&nbsp;is a web browser without a graphical user interface.<\/p>\n\n\n\n<p>Headless browsers provide automated control over a web page in an environment similar to popular web browsers, but are executed via a command-line interface. They are particularly useful for testing web pages as they are able to render and understand HTML the same way a browser would,&nbsp;including styling elements such as page layout, colour, font selection and execution of Javascript&nbsp;and AJAX<strong>&nbsp;<\/strong>which are usually not available when using other testing methods.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Setting up the project and Installing Puppeteer<\/h4>\n\n\n\n<p>1. First create a folder. (here we are creating folder named contactpage)<\/p>\n\n\n\n<p>2. Go to the&nbsp;terminal run,<\/p>\n\n\n\n<pre class=\"wp-block-preformatted brush:js\">npm init -y<\/pre>\n\n\n\n<p>This will generate a <strong>package.json<\/strong> for managing project dependencies.<\/p>\n\n\n\n<p>3. Then for installing puppeteer run<\/p>\n\n\n\n<pre class=\"wp-block-preformatted brush:js\">npm i puppeteer<\/pre>\n\n\n\n<p>4. Finally open the folder and create your first script. (here we are creating file name as contact.js)<\/p>\n\n\n\n<p><strong>Note:-<\/strong> Puppeteer requires at least Node v6.4.0, but we use async\/await which is only supported in Node v7.6.0 or greater.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Testing a Contact Form using Puppeteer<\/h4>\n\n\n\n<p>Here we are going to test a contact form in the url <strong>&#8220;<a href=\"https:\/\/webkul.com\/blog\/request-quote\/\">https:\/\/webkul.com\/blog\/request-quote\/<\/a>&#8221; .<\/strong><\/p>\n\n\n\n<p>Firstly we will import the Puppeteer library in our script&nbsp; :-<\/p>\n\n\n\n<pre class=\"wp-block-preformatted brush:js\">const puppeteer = require('puppeteer');<\/pre>\n\n\n\n<p>Then we will visit the site and save the screenshots of&nbsp;blank Contact page, form field with data and message after submitting the form. The script for the same is written below :-<\/p>\n\n\n\n<pre class=\"wp-block-preformatted brush:js\">const puppeteer = require('puppeteer');\nconst chromeOptions = {\n    executablePath:'google-chrome',\n    slowMo: 10,\n };\n\n  (async function main() {\n    const browser = await puppeteer.launch(chromeOptions);\n    const page = await browser.newPage();\n    await page.setViewport({width:1535, height:756});\n    await page.goto('https:\/\/webkul.com\/blog\/request-quote\/');\n    await page.screenshot({path:'contactus.png'});\n    await page.waitFor('.wpcf7-form');\n    const name= await page.waitForXPath(\"\/html\/body\/div[1]\/div\/div\/div\/form\/p[1]\/label\/span\/input\");\n    await name.type(\"testing\");\n    const email= await page.waitForXPath(\"\/html\/body\/div[1]\/div\/div\/div\/form\/p[2]\/label\/span\/input\");\n    await email.type(\"test@webkul.com\");\n    const subject= await page.waitForXPath('\/html\/body\/div[1]\/div\/div\/div\/form\/p[3]\/label\/span\/input');\n    await subject.type(\"Regular testing the contacts page\");\n    const message= await page.waitForXPath(\"\/html\/body\/div[1]\/div\/div\/div\/form\/p[4]\/label\/span\/textarea\");\n    await message.type(\"Regular testing the contacts page with puppeteer\");\n    await page.screenshot({path:'filled.png'});\n    await page.waitFor(2000);\n    const button = await page.waitForSelector(\".wpcf7-submit\");\n    await button.click();\n    await page.waitFor(2000);\n    await page.waitForSelector('.wpcf7-mail-sent-ok');\n    await page.screenshot({path:\"submitmessage.png\"});\n    await browser.close();\n  })()\n<\/pre>\n\n\n\n<p>To see chrome running we just need to include below mention line in the above code under chromeOptions :-<\/p>\n\n\n\n<pre class=\"wp-block-preformatted brush:js\">const chromeOptions = {\n    headless:false\n };<\/pre>\n\n\n\n<p>For running the script we just need to go to the terminal and run following command:-<\/p>\n\n\n\n<pre class=\"wp-block-preformatted brush:js\">node contact.js<\/pre>\n\n\n\n<p>This will generate the screenshots in the contactpage folder as shown in the below image :-<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"966\" height=\"339\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1.png\" alt=\"abcd\" class=\"wp-image-166270\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1.png 966w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1-250x88.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1-300x105.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1-768x270.png 768w\" sizes=\"(max-width: 966px) 100vw, 966px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>filled.png will look like below image :-<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1535\" height=\"756\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/filled-1.png\" alt=\"filled\" class=\"wp-image-166287\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/filled-1.png 1535w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/filled-1-250x123.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/filled-1-300x148.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/filled-1-768x378.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/filled-1-1200x591.png 1200w\" sizes=\"(max-width: 1535px) 100vw, 1535px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>That&#8217;s all regarding UI testing using Puppeteer.<\/p>\n\n\n\n<p>Thanks for reading this blog \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Puppeteer is emerging as one of the prominent automation testing tool developed around DevTools protocol.&nbsp;It is a Node library which provides a high-level API to control Chrome. Puppeteer provide the headless browser functionality by default. We can also configure the Puppeteer to run non-headless Chrome. The only drawback with Puppeteer is that it works for <a href=\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":198,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[198,4932],"tags":[987,8254,8253,4903],"class_list":["post-166203","post","type-post","status-publish","format-standard","hentry","category-javascript","category-web-testing","tag-contact-form","tag-puppeteer","tag-user-interface-testing","tag-web-testing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>UI testing using Puppeteer - Webkul Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"UI testing using Puppeteer - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Puppeteer is emerging as one of the prominent automation testing tool developed around DevTools protocol.&nbsp;It is a Node library which provides a high-level API to control Chrome. Puppeteer provide the headless browser functionality by default. We can also configure the Puppeteer to run non-headless Chrome. The only drawback with Puppeteer is that it works for [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-11T11:52:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-16T13:45:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1.png\" \/>\n<meta name=\"author\" content=\"Garima Pathak\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Garima Pathak\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/\"},\"author\":{\"name\":\"Garima Pathak\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/e4e1f4ece892a640bd9b41f32c9b53ca\"},\"headline\":\"UI testing using Puppeteer\",\"datePublished\":\"2019-03-11T11:52:12+00:00\",\"dateModified\":\"2021-07-16T13:45:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/\"},\"wordCount\":378,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1.png\",\"keywords\":[\"Contact Form\",\"puppeteer\",\"User interface testing\",\"Web testing\"],\"articleSection\":[\"JavaScript\",\"Web testing\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/\",\"url\":\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/\",\"name\":\"UI testing using Puppeteer - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1.png\",\"datePublished\":\"2019-03-11T11:52:12+00:00\",\"dateModified\":\"2021-07-16T13:45:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1.png\",\"width\":966,\"height\":339},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"UI testing using Puppeteer\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/e4e1f4ece892a640bd9b41f32c9b53ca\",\"name\":\"Garima Pathak\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e00de499182e68e890e1ffef88e476c2b6f56649684c0871e79d867d43b84b68?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e00de499182e68e890e1ffef88e476c2b6f56649684c0871e79d867d43b84b68?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Garima Pathak\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/garimapathak-tester19\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"UI testing using Puppeteer - Webkul Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/","og_locale":"en_US","og_type":"article","og_title":"UI testing using Puppeteer - Webkul Blog","og_description":"Puppeteer is emerging as one of the prominent automation testing tool developed around DevTools protocol.&nbsp;It is a Node library which provides a high-level API to control Chrome. Puppeteer provide the headless browser functionality by default. We can also configure the Puppeteer to run non-headless Chrome. The only drawback with Puppeteer is that it works for [...]","og_url":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2019-03-11T11:52:12+00:00","article_modified_time":"2021-07-16T13:45:26+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1.png","type":"","width":"","height":""}],"author":"Garima Pathak","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Garima Pathak","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/"},"author":{"name":"Garima Pathak","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/e4e1f4ece892a640bd9b41f32c9b53ca"},"headline":"UI testing using Puppeteer","datePublished":"2019-03-11T11:52:12+00:00","dateModified":"2021-07-16T13:45:26+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/"},"wordCount":378,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1.png","keywords":["Contact Form","puppeteer","User interface testing","Web testing"],"articleSection":["JavaScript","Web testing"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/","url":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/","name":"UI testing using Puppeteer - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1.png","datePublished":"2019-03-11T11:52:12+00:00","dateModified":"2021-07-16T13:45:26+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/03\/abcd-1.png","width":966,"height":339},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/ui-testing-using-puppeteer\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"UI testing using Puppeteer"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/e4e1f4ece892a640bd9b41f32c9b53ca","name":"Garima Pathak","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e00de499182e68e890e1ffef88e476c2b6f56649684c0871e79d867d43b84b68?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e00de499182e68e890e1ffef88e476c2b6f56649684c0871e79d867d43b84b68?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Garima Pathak"},"url":"https:\/\/webkul.com\/blog\/author\/garimapathak-tester19\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/166203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/198"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=166203"}],"version-history":[{"count":21,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/166203\/revisions"}],"predecessor-version":[{"id":296627,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/166203\/revisions\/296627"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=166203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=166203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=166203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}