{"id":222043,"date":"2020-01-13T12:16:48","date_gmt":"2020-01-13T12:16:48","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=222043"},"modified":"2020-01-13T12:16:49","modified_gmt":"2020-01-13T12:16:49","slug":"screenshot-with-timestamp-in-selenium-webdriver","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/","title":{"rendered":"Screenshot with Timestamp in Selenium Webdriver."},"content":{"rendered":"\n<p>Here we gonna see how to capture a screenshot. Capturing a screenshot is very important thing because at times there are failures on pages as well as to keep evidence of test result we need to take screenshot of that test case.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><br>Capturing screenshot is little tricky thing in Webdriver because there is no straight forward method that says driver.captureScreenshot.<br>But there is an interface called as takesscreenshot which we will use along with one method named as  getScreenshotAs().<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">File screenshot = ((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE);<\/pre>\n\n\n\n<p>Once the screenshot is captured you need to move this file to particular location.<br>We will be doing it with the help of one of class called as FileHandler.copyFIle(srcFile, destFile).<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\"> FileHandler.copy(scrFile, destFile);<\/pre>\n\n\n\n<p>*<strong>scrFile<\/strong> is your screenshot file.<\/p>\n\n\n\n<p>*<strong>destFile<\/strong>, you will be creating it with new file and store it into the location where you want.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">File screenshot = ((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE);\nFileHandler.copy(screenshot, new File(&quot;\/home\/users\/bhanu.pratap\/Documents\/testScreenshot\/&quot; + FileName));<\/pre>\n\n\n\n<p>This is how we will be capturing screenshot. But before moving ahead we have to specify fileName. <\/p>\n\n\n\n<p>Since we want every time a new file should be generated.<\/p>\n\n\n\n<p>So for that we will be implementing time stamp as bellow.<\/p>\n\n\n\n<p>There is class in java called as Date, lets create an object of this class. <\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">Date d = new Date();<\/pre>\n\n\n\n<p><br>So it will return current system date along with time, but here we have to replace&#8221;:&#8221; and &#8220;space&#8221; because this thing is not supported in the file name. so for this we will convert this into string , then we will call replace method and concatenate .png .<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">String FileName = d.toString().replace(&quot;:&quot;, &quot;_&quot;).replace(&quot; &quot;, &quot;_&quot;) + &quot;.png&quot;;<\/pre>\n\n\n\n<p>So now  file name will be different every time.<\/p>\n\n\n\n<p>Hence complete code looks like<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\n\t\tDate d = new Date();\n\n\t\tString FileName = d.toString().replace(&quot;:&quot;, &quot;_&quot;).replace(&quot; &quot;, &quot;_&quot;) + &quot;.png&quot;;\n\n\t\tFile screenshot = ((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE);\n\n\t\tFileHandler.copy(screenshot, new File(&quot;\/home\/users\/bhanu.pratap\/Documents\/testScreenshot\/&quot; + FileName));\n\n\t}<\/pre>\n\n\n\n<p> <\/p>\n\n\n\n<p>But instead of writing same code every time why not lets create a utility for this as below<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">package bagisto;\n\nimport java.io.File;\nimport java.io.IOException;\nimport java.util.Date;\nimport java.util.concurrent.TimeUnit;\n\nimport org.openqa.selenium.By;\nimport org.openqa.selenium.OutputType;\nimport org.openqa.selenium.TakesScreenshot;\nimport org.openqa.selenium.WebDriver;\nimport org.openqa.selenium.chrome.ChromeDriver;\nimport org.openqa.selenium.io.FileHandler;\n\npublic class capturingScreenshot {\n\n\tpublic static WebDriver driver;\n\n\tprivate static void captureScreenshot() throws IOException {\n\n\t\tDate d = new Date();\n\n\t\tString FileName = d.toString().replace(&quot;:&quot;, &quot;_&quot;).replace(&quot; &quot;, &quot;_&quot;) + &quot;.png&quot;;\n\n\t\tFile screenshot = ((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE);\n\n\t\tFileHandler.copy(screenshot, new File(&quot;\/home\/users\/bhanu.pratap\/Documents\/testScreenshot\/&quot; + FileName));\n\n\t}\n}<\/pre>\n\n\n\n<p>The benefit of doing this is wherever we wanna capture screenshot instead of giving complete thing we will use only  captureScreenshot(). <\/p>\n\n\n\n<p>Here\u2019s the Sample code<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">package bagisto;\n\nimport java.io.File;\nimport java.io.IOException;\nimport java.util.Date;\nimport java.util.concurrent.TimeUnit;\n\nimport org.openqa.selenium.By;\nimport org.openqa.selenium.OutputType;\nimport org.openqa.selenium.TakesScreenshot;\nimport org.openqa.selenium.WebDriver;\nimport org.openqa.selenium.chrome.ChromeDriver;\nimport org.openqa.selenium.io.FileHandler;\n\npublic class capturingScreenshot {\n\n\tpublic static WebDriver driver;\n\n\tprivate static void captureScreenshot() throws IOException {\n\n\t\tDate d = new Date();\n\n\t\tString FileName = d.toString().replace(&quot;:&quot;, &quot;_&quot;).replace(&quot; &quot;, &quot;_&quot;) + &quot;.png&quot;;\n\n\t\tFile screenshot = ((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE);\n\n\t\tFileHandler.copy(screenshot, new File(&quot;\/home\/users\/bhanu.pratap\/Documents\/testScreenshot\/&quot; + FileName));\n\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tSystem.setProperty(&quot;webdriver.chrome.driver&quot;,\n\t\t\t\t&quot;\/home\/users\/bhanu.pratap\/eclipse-workspace\/bagisto\/chromedriver.exe&quot;);\n\t\tdriver = new ChromeDriver();\n\t\tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n\t\tdriver.manage().window().maximize();\n\n\t\tdriver.get(&quot;https:\/\/bagisto.com\/en\/extensions\/&quot;);\n\t\tcaptureScreenshot();\n\t\tdriver.findElement(By.xpath(&quot;\/\/li[@id=&#039;menu-item-22&#039;]\/\/a[contains(text(),&#039;Features&#039;)]&quot;)).click();\n\n\t\tcaptureScreenshot();\n\n\t}\n\n}<\/pre>\n\n\n\n<p>Thanks for reading this blog!<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Happy testing!!!<\/p>\n\n\n\n<p> <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here we gonna see how to capture a screenshot. Capturing a screenshot is very important thing because at times there are failures on pages as well as to keep evidence of test result we need to take screenshot of that test case. Capturing screenshot is little tricky thing in Webdriver because there is no straight <a href=\"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":302,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8396,2047,5847],"tags":[2273,3138,3250,3200],"class_list":["post-222043","post","type-post","status-publish","format-standard","hentry","category-bagisto","category-ecommerce-tips","category-selenium","tag-automation","tag-selenium","tag-testing","tag-testing-selenium"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Screenshot with Timestamp in Selenium Webdriver. - Webkul Blog<\/title>\n<meta name=\"description\" content=\"Capturing a screenshot is very important thing to keep evidence of test result we need to take screen shot of that test case.\" \/>\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\/screenshot-with-timestamp-in-selenium-webdriver\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Screenshot with Timestamp in Selenium Webdriver. - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Capturing a screenshot is very important thing to keep evidence of test result we need to take screen shot of that test case.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/\" \/>\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=\"2020-01-13T12:16:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-13T12:16:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Bhanu\" \/>\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=\"Bhanu\" \/>\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\/screenshot-with-timestamp-in-selenium-webdriver\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/\"},\"author\":{\"name\":\"Bhanu\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/a3d6d1810448b1166b22c4a3eb2e0188\"},\"headline\":\"Screenshot with Timestamp in Selenium Webdriver.\",\"datePublished\":\"2020-01-13T12:16:48+00:00\",\"dateModified\":\"2020-01-13T12:16:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/\"},\"wordCount\":306,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"keywords\":[\"Automation\",\"Selenium\",\"testing\",\"Testing selenium\"],\"articleSection\":[\"Bagisto\",\"Ecommerce Tips\",\"Selenium\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/\",\"url\":\"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/\",\"name\":\"Screenshot with Timestamp in Selenium Webdriver. - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"datePublished\":\"2020-01-13T12:16:48+00:00\",\"dateModified\":\"2020-01-13T12:16:49+00:00\",\"description\":\"Capturing a screenshot is very important thing to keep evidence of test result we need to take screen shot of that test case.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Screenshot with Timestamp in Selenium Webdriver.\"}]},{\"@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\/a3d6d1810448b1166b22c4a3eb2e0188\",\"name\":\"Bhanu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/95f5ae5a79145ff25e947891b7ff89669774e14199794c273bd6edb80a8b2d38?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/95f5ae5a79145ff25e947891b7ff89669774e14199794c273bd6edb80a8b2d38?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Bhanu\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/bhanupratap-tester362\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Screenshot with Timestamp in Selenium Webdriver. - Webkul Blog","description":"Capturing a screenshot is very important thing to keep evidence of test result we need to take screen shot of that test case.","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\/screenshot-with-timestamp-in-selenium-webdriver\/","og_locale":"en_US","og_type":"article","og_title":"Screenshot with Timestamp in Selenium Webdriver. - Webkul Blog","og_description":"Capturing a screenshot is very important thing to keep evidence of test result we need to take screen shot of that test case.","og_url":"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2020-01-13T12:16:48+00:00","article_modified_time":"2020-01-13T12:16:49+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png","type":"image\/png"}],"author":"Bhanu","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Bhanu","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/"},"author":{"name":"Bhanu","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/a3d6d1810448b1166b22c4a3eb2e0188"},"headline":"Screenshot with Timestamp in Selenium Webdriver.","datePublished":"2020-01-13T12:16:48+00:00","dateModified":"2020-01-13T12:16:49+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/"},"wordCount":306,"commentCount":2,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"keywords":["Automation","Selenium","testing","Testing selenium"],"articleSection":["Bagisto","Ecommerce Tips","Selenium"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/","url":"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/","name":"Screenshot with Timestamp in Selenium Webdriver. - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"datePublished":"2020-01-13T12:16:48+00:00","dateModified":"2020-01-13T12:16:49+00:00","description":"Capturing a screenshot is very important thing to keep evidence of test result we need to take screen shot of that test case.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/screenshot-with-timestamp-in-selenium-webdriver\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Screenshot with Timestamp in Selenium Webdriver."}]},{"@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\/a3d6d1810448b1166b22c4a3eb2e0188","name":"Bhanu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/95f5ae5a79145ff25e947891b7ff89669774e14199794c273bd6edb80a8b2d38?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/95f5ae5a79145ff25e947891b7ff89669774e14199794c273bd6edb80a8b2d38?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Bhanu"},"url":"https:\/\/webkul.com\/blog\/author\/bhanupratap-tester362\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/222043","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\/302"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=222043"}],"version-history":[{"count":29,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/222043\/revisions"}],"predecessor-version":[{"id":222268,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/222043\/revisions\/222268"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=222043"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=222043"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=222043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}