{"id":135624,"date":"2018-07-27T14:05:46","date_gmt":"2018-07-27T14:05:46","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=135624"},"modified":"2018-08-30T07:29:18","modified_gmt":"2018-08-30T07:29:18","slug":"login-to-a-wordpress-site-using-casperjs","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/","title":{"rendered":"Login To A WordPress Site Using Casperjs"},"content":{"rendered":"<p>Casperjs\u00a0is an open source browser navigation scripting and testing tool written in JavaScript for PhantomJS. Casperjs can be installed on windows, mac os x and linux. We can install phantomjs and casperjs using npm by running following commands:-<\/p>\n<p>For Installing Casperjs:-<\/p>\n<pre class=\"brush:powershell\">npm install casperjs -g<\/pre>\n<p>For Installing Phantomjs:-<\/p>\n<pre class=\"brush:powershell\">npm -g install phantomjs-prebuilt<\/pre>\n<p>Now first of all before writing script for Login to a WordPress site we would first create a directory\u00a0 where we put our test.js file and use npm init command to create package.json file in directory.<\/p>\n<pre class=\"brush:powershell\">mkdir casperdemo\r\ncd casperdemo\r\nnpm init<\/pre>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-135640\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo.png\" alt=\"\" width=\"629\" height=\"54\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo.png 629w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo-250x21.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo-300x26.png 300w\" sizes=\"(max-width: 629px) 100vw, 629px\" loading=\"lazy\" \/><\/p>\n<p>Now we will create a test.js in casperdemo directory for Login to a WordPress site\u00a0and taking screenshot of it. Following script will be written in test.js file:-<\/p>\n<pre class=\"brush:js\">  var page = require('webpage').create();\r\n  var casper = require('casper').create();\r\n\r\n  var urlBeforeLoggedIn = \"http:\/\/garima.com\/auction\/wp-login.php\";\r\n  var urlAfterLoggedIn = \"http:\/\/garima.com\/auction\/wp-admin\";\r\n\r\n  casper.start(urlBeforeLoggedIn);\r\n\r\n  casper.waitForSelector('form[method=\"post\"]', function() {\r\n    casper.fillSelectors('form[method=\"post\"]', {\r\n      'input[name=\"log\"]': 'admin',\r\n      'input[name=\"pwd\"]': 'admin'\r\n    }, true);\r\n  });\r\n\r\n  casper.waitForUrl(urlAfterLoggedIn, function() {\r\n    this.viewport(3000, 1080);\r\n    this.capture('.\/screenshot.png', {top: 0,left: 0,width: 3000, height: 1080});\r\n  });\r\n\r\n  casper.run();<\/pre>\n<p class=\"brush:js\">Here, first of all we have two variables urlBeforeLoggedIn and urlAfterLoggedIn in which we put the url which is used before login into a WordPress site and url after logged into the website respectively.<\/p>\n<pre class=\"brush:js\">var urlBeforeLoggedIn = \"http:\/\/garima.com\/auction\/wp-login.php\";\r\nvar urlAfterLoggedIn = \"http:\/\/garima.com\/auction\/wp-admin\";<\/pre>\n<p>For opening the website we use casper.start\u00a0(urlBeforeLoggedIn) and for submitting a post form we have used following script:-<\/p>\n<pre class=\"brush:js\">  casper.waitForSelector('form[method=\"post\"]', function() {\r\n    casper.fillSelectors('form[method=\"post\"]', {\r\n      'input[name=\"log\"]': 'admin',\r\n      'input[name=\"pwd\"]': 'admin'\r\n    }, true);\r\n  });<\/pre>\n<p>For taking screenshot of logged in window in WordPress we are using following script:-<\/p>\n<pre class=\"brush:js\"> casper.waitForUrl(urlAfterLoggedIn, function() {\r\n    this.viewport(3000, 1080);\r\n    this.capture('.\/screenshot.png', {top: 0,left: 0,width: 3000, height: 1080});\r\n  });<\/pre>\n<p>Now we will run the test.js file in terminal by using the following command:-<\/p>\n<pre class=\"brush:powershell\">casperjs test.js<\/pre>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-135650\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/test.png\" alt=\"\" width=\"513\" height=\"17\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/test.png 513w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/test-250x8.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/test-300x10.png 300w\" sizes=\"(max-width: 513px) 100vw, 513px\" loading=\"lazy\" \/><\/p>\n<p>After running this command we will get a screenshot of successful Login to a WordPress site which will be saved in casperdemo directory like below image:-<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-135655\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/Screenshot-from-2018-07-27-19-29-25.png\" alt=\"\" width=\"1093\" height=\"478\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/Screenshot-from-2018-07-27-19-29-25.png 1093w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/Screenshot-from-2018-07-27-19-29-25-250x109.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/Screenshot-from-2018-07-27-19-29-25-300x131.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/Screenshot-from-2018-07-27-19-29-25-768x336.png 768w\" sizes=\"(max-width: 1093px) 100vw, 1093px\" loading=\"lazy\" \/><\/p>\n<p>Screenshot.png will look like below image:-<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-135658\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/screenshot.png\" alt=\"\" width=\"3000\" height=\"1080\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/screenshot.png 3000w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/screenshot-250x90.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/screenshot-300x108.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/screenshot-768x276.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/screenshot-1200x432.png 1200w\" sizes=\"(max-width: 3000px) 100vw, 3000px\" loading=\"lazy\" \/><\/p>\n<p>That&#8217;s all about Login to a WordPress site using Casperjs.<\/p>\n<p>Thanks for reading this blog !!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Casperjs\u00a0is an open source browser navigation scripting and testing tool written in JavaScript for PhantomJS. Casperjs can be installed on windows, mac os x and linux. We can install phantomjs and casperjs using npm by running following commands:- For Installing Casperjs:- npm install casperjs -g For Installing Phantomjs:- npm -g install phantomjs-prebuilt Now first of <a href=\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/\">[&#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":[4313,1260],"tags":[3505],"class_list":["post-135624","post","type-post","status-publish","format-standard","hentry","category-casperjs","category-wordpress","tag-casperjs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Login To A WordPress Site Using Casperjs - 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\/login-to-a-wordpress-site-using-casperjs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Login To A WordPress Site Using Casperjs - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Casperjs\u00a0is an open source browser navigation scripting and testing tool written in JavaScript for PhantomJS. Casperjs can be installed on windows, mac os x and linux. We can install phantomjs and casperjs using npm by running following commands:- For Installing Casperjs:- npm install casperjs -g For Installing Phantomjs:- npm -g install phantomjs-prebuilt Now first of [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/\" \/>\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=\"2018-07-27T14:05:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-08-30T07:29:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo.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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/\"},\"author\":{\"name\":\"Garima Pathak\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/e4e1f4ece892a640bd9b41f32c9b53ca\"},\"headline\":\"Login To A WordPress Site Using Casperjs\",\"datePublished\":\"2018-07-27T14:05:46+00:00\",\"dateModified\":\"2018-08-30T07:29:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/\"},\"wordCount\":260,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo.png\",\"keywords\":[\"casperjs\"],\"articleSection\":[\"CasperJS\",\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/\",\"url\":\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/\",\"name\":\"Login To A WordPress Site Using Casperjs - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo.png\",\"datePublished\":\"2018-07-27T14:05:46+00:00\",\"dateModified\":\"2018-08-30T07:29:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo.png\",\"width\":\"629\",\"height\":\"54\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Login To A WordPress Site Using Casperjs\"}]},{\"@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":"Login To A WordPress Site Using Casperjs - 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\/login-to-a-wordpress-site-using-casperjs\/","og_locale":"en_US","og_type":"article","og_title":"Login To A WordPress Site Using Casperjs - Webkul Blog","og_description":"Casperjs\u00a0is an open source browser navigation scripting and testing tool written in JavaScript for PhantomJS. Casperjs can be installed on windows, mac os x and linux. We can install phantomjs and casperjs using npm by running following commands:- For Installing Casperjs:- npm install casperjs -g For Installing Phantomjs:- npm -g install phantomjs-prebuilt Now first of [...]","og_url":"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2018-07-27T14:05:46+00:00","article_modified_time":"2018-08-30T07:29:18+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo.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":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/"},"author":{"name":"Garima Pathak","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/e4e1f4ece892a640bd9b41f32c9b53ca"},"headline":"Login To A WordPress Site Using Casperjs","datePublished":"2018-07-27T14:05:46+00:00","dateModified":"2018-08-30T07:29:18+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/"},"wordCount":260,"commentCount":3,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo.png","keywords":["casperjs"],"articleSection":["CasperJS","WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/","url":"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/","name":"Login To A WordPress Site Using Casperjs - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo.png","datePublished":"2018-07-27T14:05:46+00:00","dateModified":"2018-08-30T07:29:18+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/casperdemooo.png","width":"629","height":"54"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/login-to-a-wordpress-site-using-casperjs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Login To A WordPress Site Using Casperjs"}]},{"@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\/135624","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=135624"}],"version-history":[{"count":18,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/135624\/revisions"}],"predecessor-version":[{"id":140693,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/135624\/revisions\/140693"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=135624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=135624"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=135624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}