{"id":221664,"date":"2020-01-10T13:24:28","date_gmt":"2020-01-10T13:24:28","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=221664"},"modified":"2020-01-13T12:21:51","modified_gmt":"2020-01-13T12:21:51","slug":"implicit-and-explicit-waits-in-selenium","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/","title":{"rendered":"Implicit and Explicit Waits in Selenium"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What are Waits?<\/h2>\n\n\n\n<p>Waits helps the user to find out the issues while navigating to different web pages. This can be done by refreshing the web pages to reload the web elements. It mights happens that page reload time can be more because of some ajax request due to which webelement takes more time to reflect. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Need of Waits in Selenium<\/h2>\n\n\n\n<p>Most of the time when we run our Selenium script we get <strong>ElementNotVisibleException<\/strong>&nbsp;exception. This happens because Most of the Web Application uses javascript and ajax. Our script execute before getting the response of ajax or javascript request because of which elements are not visible at the time of execution of Script.<\/p>\n\n\n\n<p>We can overcome this problem by using Selenium Waits. Selenium offers two types of Waits-<\/p>\n\n\n\n<p>1.Implicit Waits<\/p>\n\n\n\n<p>2.Explicit Waits<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Implicit Waits<\/h2>\n\n\n\n<p>It will be applicable globally, that means it will work for all the web elements throughout the driver instance.<\/p>\n\n\n\n<p>Implicit wait will notify the driver to wait for the given amount of time before throwing an exception &#8220;No Such Element Exception &#8220;. By default it waits for 0 seconds. After setting the time it will wait for that particular time before throwing an exception.<br><\/p>\n\n\n\n<p>Syntax of Implicit wait:<\/p>\n\n\n\n<p><strong>driver.manage().timeouts().implicitlyWait(TimeOut, TimeUnit.SECONDS);<\/strong><\/p>\n\n\n\n<p>Lets take an example to see how Implicit wait works: <\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">package Test1;\n\n\n import java.util.concurrent.TimeUnit;\n import org.openqa.selenium.By;\n import org.openqa.selenium.WebDriver;\n import org.openqa.selenium.chrome.ChromeDriver;\n import org.openqa.selenium.support.ui.Select;\n import org.testng.annotations.AfterMethod;\n import org.testng.annotations.BeforeMethod;\n import org.testng.annotations.Test;\n public class Category {\n WebDriver driver;\n\n @BeforeMethod()\n     public void setup() {\n     System.setProperty(&quot;webdriver.chrome.driver&quot;, &quot;\/home\/users\/jyoti.singh\/eclipse-work\/selenium-java-3.141.59\/chromedriver.exe&quot;);\n     driver=new ChromeDriver();\n     driver.manage().window().maximize();\n     driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n\ufeff     driver.navigate().to(&quot;http:\/\/192.168.15.201\/bagistonew\/public\/admin\/login&quot;);\n     driver.findElement(By.id(&quot;email&quot;)).sendKeys(&quot;admin@example.com&quot;);\n     driver.findElement(By.id(&quot;password&quot;)).sendKeys(&quot;admin123&quot;);\n     driver.findElement(By.className(&quot;btn-primary&quot;)).click(); \n     driver.findElement(By.xpath(&quot;\/\/a\/\/span[contains(text(),&#039;Catalog&#039;)]&quot;)).click();\n     driver.findElement(By.xpath(&quot;\/\/a[contains(text(),&#039;Categories&#039;)]&quot;)).click();\n     driver.findElement(By.xpath(&quot;\/\/a[@class=&#039;btn btn-lg btn-primary&#039;]&quot;)).click();\n\n}\n@Test()\n public void addwithoutdata() {\n     driver.findElement(By.xpath(&quot;\/html[1]\/body[1]\/div[1]\/div[4]\/div[1]\/div[2]\/div[2]\/form[1]\/div[1]\/div[2]\/button[1]&quot;)).click();\n}\n\n@AfterMethod()\n     public void teardown() {\n       driver.close();\n}\n}<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>In the above code implicit wait of 30 seconds that means, it will wait for 30 seconds before throwing the exception. Implicit wait takes two parameter, first one is time as integer and second one is measurement of time in form of MINUTE, SECONDS, MILLISECONDS, MICROSECONDS, NANOSECONDS, DAYS, HOURS, etc.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Explicit Wait<\/h2>\n\n\n\n<p>We use Explicit wait when we have to state driver to wait till some certain condition matches (Expected condition) before throwing an error &#8220;<strong>ElementNotVisibleException<\/strong>&#8220;. It can be Implemented by <strong>WebDriverWait<\/strong> class. Unlike Implicit wait, Explicit waits only available for specified Elements.<\/p>\n\n\n\n<p>After declaring Explicit wait we have to define &#8220;Expected Condition&#8221;.<\/p>\n\n\n\n<p>Syntax for Explicit Wait:<\/p>\n\n\n\n<p>WebDriverWait wait = new WebDriverWait (WebDriverReference,TimeOut);<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">When to Use Explicit wait<\/h2>\n\n\n\n<p>Suppose you have to login in some website and after login it takes some time to load data and to reach home page. This page is dynamic so sometime it takes 15 seconds to load the homepage and sometime it takes 30 seconds. So in this case you can use Explicit wait to &nbsp;wait until a specific page is not present.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">package Test1;\n\nimport java.util.concurrent.TimeUnit;\n\nimport org.openqa.selenium.By;\nimport org.openqa.selenium.WebDriver;\nimport org.openqa.selenium.chrome.ChromeDriver;\nimport org.openqa.selenium.support.ui.ExpectedConditions;\nimport org.openqa.selenium.support.ui.Select;\nimport org.openqa.selenium.support.ui.WebDriverWait;\nimport org.testng.annotations.AfterMethod;\nimport org.testng.annotations.BeforeMethod;\nimport org.testng.annotations.Test;\n\npublic class Category {\nWebDriver driver;\n\n@BeforeMethod()\npublic void setup() {\n\tSystem.setProperty(&quot;webdriver.chrome.driver&quot;, &quot;\/home\/users\/jyoti.singh\/eclipse-work\/selenium-java-3.141.59\/chromedriver.exe&quot;);\n\tdriver=new ChromeDriver();\n\tdriver.manage().window().maximize();\n\tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n\tdriver.manage().timeouts().pageLoadTimeout(30, TimeUnit.SECONDS);\n\n\tdriver.navigate().to(&quot;http:\/\/192.168.15.201\/bagistonew\/public\/admin\/login&quot;);\n\tdriver.findElement(By.id(&quot;email&quot;)).sendKeys(&quot;admin@example.com&quot;);\n    driver.findElement(By.id(&quot;password&quot;)).sendKeys(&quot;admin123&quot;);\n    driver.findElement(By.className(&quot;btn-primary&quot;)).click(); \n    WebDriverWait wait = new WebDriverWait(driver,30);\n    wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath(&quot;\/\/a\/\/span[contains(text(),&#039;Catalog&#039;)]&quot;)));\n    driver.findElement(By.xpath(&quot;\/\/a\/\/span[contains(text(),&#039;Catalog&#039;)]&quot;)).click();\n    driver.findElement(By.xpath(&quot;\/\/a[contains(text(),&#039;Categories&#039;)]&quot;)).click();\n    driver.findElement(By.xpath(&quot;\/\/a[@class=&#039;btn btn-lg btn-primary&#039;]&quot;)).click();\n}\n\n@Test()\npublic void addwithoutdata() {\n\tdriver.findElement(By.xpath(&quot;\/html[1]\/body[1]\/div[1]\/div[4]\/div[1]\/div[2]\/div[2]\/form[1]\/div[1]\/div[2]\/button[1]&quot;)).click();\n\t}\n@AfterMethod\n public void tear() {\n\t driver.close();\n }\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>What are Waits? Waits helps the user to find out the issues while navigating to different web pages. This can be done by refreshing the web pages to reload the web elements. It mights happens that page reload time can be more because of some ajax request due to which webelement takes more time to <a href=\"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":303,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5847,1],"tags":[],"class_list":["post-221664","post","type-post","status-publish","format-standard","hentry","category-selenium","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Implicit and Explicit Waits in Selenium - Webkul Blog<\/title>\n<meta name=\"description\" content=\"Implicit and Explicit Waits in Selenium applicable globally, that means it will work for all the web elements throughout the driver instance.\" \/>\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\/implicit-and-explicit-waits-in-selenium\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Implicit and Explicit Waits in Selenium - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Implicit and Explicit Waits in Selenium applicable globally, that means it will work for all the web elements throughout the driver instance.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/\" \/>\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-10T13:24:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-13T12:21:51+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=\"Jyoti Singh\" \/>\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=\"Jyoti Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/\"},\"author\":{\"name\":\"Jyoti Singh\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/537e9640fa8446a90166652850415888\"},\"headline\":\"Implicit and Explicit Waits in Selenium\",\"datePublished\":\"2020-01-10T13:24:28+00:00\",\"dateModified\":\"2020-01-13T12:21:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/\"},\"wordCount\":400,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"articleSection\":[\"Selenium\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/\",\"url\":\"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/\",\"name\":\"Implicit and Explicit Waits in Selenium - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"datePublished\":\"2020-01-10T13:24:28+00:00\",\"dateModified\":\"2020-01-13T12:21:51+00:00\",\"description\":\"Implicit and Explicit Waits in Selenium applicable globally, that means it will work for all the web elements throughout the driver instance.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Implicit and Explicit Waits in Selenium\"}]},{\"@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\/537e9640fa8446a90166652850415888\",\"name\":\"Jyoti Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/831215c66e6680e986a1461d869c9a3b8b1497289a62a1b143b53dc5bf76bc8e?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\/831215c66e6680e986a1461d869c9a3b8b1497289a62a1b143b53dc5bf76bc8e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Jyoti Singh\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/jyotisingh-tester297\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Implicit and Explicit Waits in Selenium - Webkul Blog","description":"Implicit and Explicit Waits in Selenium applicable globally, that means it will work for all the web elements throughout the driver instance.","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\/implicit-and-explicit-waits-in-selenium\/","og_locale":"en_US","og_type":"article","og_title":"Implicit and Explicit Waits in Selenium - Webkul Blog","og_description":"Implicit and Explicit Waits in Selenium applicable globally, that means it will work for all the web elements throughout the driver instance.","og_url":"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2020-01-10T13:24:28+00:00","article_modified_time":"2020-01-13T12:21:51+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":"Jyoti Singh","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Jyoti Singh","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/"},"author":{"name":"Jyoti Singh","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/537e9640fa8446a90166652850415888"},"headline":"Implicit and Explicit Waits in Selenium","datePublished":"2020-01-10T13:24:28+00:00","dateModified":"2020-01-13T12:21:51+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/"},"wordCount":400,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"articleSection":["Selenium"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/","url":"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/","name":"Implicit and Explicit Waits in Selenium - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"datePublished":"2020-01-10T13:24:28+00:00","dateModified":"2020-01-13T12:21:51+00:00","description":"Implicit and Explicit Waits in Selenium applicable globally, that means it will work for all the web elements throughout the driver instance.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/implicit-and-explicit-waits-in-selenium\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Implicit and Explicit Waits in Selenium"}]},{"@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\/537e9640fa8446a90166652850415888","name":"Jyoti Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/831215c66e6680e986a1461d869c9a3b8b1497289a62a1b143b53dc5bf76bc8e?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\/831215c66e6680e986a1461d869c9a3b8b1497289a62a1b143b53dc5bf76bc8e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Jyoti Singh"},"url":"https:\/\/webkul.com\/blog\/author\/jyotisingh-tester297\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/221664","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\/303"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=221664"}],"version-history":[{"count":22,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/221664\/revisions"}],"predecessor-version":[{"id":222232,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/221664\/revisions\/222232"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=221664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=221664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=221664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}