{"id":148918,"date":"2018-10-24T12:49:37","date_gmt":"2018-10-24T12:49:37","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=148918"},"modified":"2019-01-29T11:25:41","modified_gmt":"2019-01-29T11:25:41","slug":"uploading-file-through-selenium-webdriver","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/","title":{"rendered":"Uploading file through Selenium Webdriver"},"content":{"rendered":"<p>Uploading file is a common scenario found in many website now a days. We can handle uploading file through selenium webdriver. Below is the screenshot of upload file from chrome browser :-<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-148942\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile.png\" alt=\"image1\" width=\"1000\" height=\"196\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile.png 1135w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile-250x49.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile-300x59.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile-768x150.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" loading=\"lazy\" \/><\/p>\n<h3>Step by step execution of Code:-<\/h3>\n<p><strong>1.<\/strong> First we will set the path of chrome driver :-<\/p>\n<pre class=\"brush:java\">System.setProperty(\"webdriver.chrome.driver\",\"\/home\/users\/garima.pathak\/Desktop\/softwares\/chromedriver\");<\/pre>\n<p><strong>2. <\/strong>Create a instance of ChromeDriver constructor.<\/p>\n<pre class=\"brush:java\">WebDriver driver = new ChromeDriver();<\/pre>\n<p>Here, WebDriver is an interface, driver is a reference variable, ChromeDriver() is a constructor, new is\u00a0 a keyword and new ChromeDriver () is an object.<\/p>\n<p><strong>3.<\/strong>\u00a0Give the navigation of the page in which we want to upload the file :-<\/p>\n<pre class=\"brush:java\">driver.get(\"http:garima.com\/membership\/wp-admin\/admin.php?page=mass-upload\");<\/pre>\n<p><strong>4.<\/strong> Now we will find upload button WebElement in the page.<\/p>\n<pre class=\"brush:java\">WebElement uploadZip = driver.findElement(By.id(\"upload_zip\"));<\/pre>\n<p class=\"brush:java\">Here, findElement()\u00a0finds a single web element and returns as a WebElement object.<\/p>\n<p class=\"brush:java\"><strong>5.<\/strong>\u00a0 Now we will enter the file path onto the file-selection input field.<\/p>\n<pre class=\"brush:java\">uploadZip.sendKeys(\"\/home\/users\/garima.pathak\/Desktop\/example.zip\");<\/pre>\n<p><strong>Note :-\u00a0<\/strong>WebDriver automatically enters the file path onto the file-selection text box of the &lt;input type=&#8221;file&#8221;&gt; element.<\/p>\n<p><strong>6.<\/strong> Finally, we will click on the upload button.<\/p>\n<pre class=\"brush:java\">driver.findElement(By.name(\"submit_admin_csv\")).click();<\/pre>\n<p class=\"brush:java\">Below is the complete code :-<\/p>\n<pre class=\"brush:java\">package automationFramework;\r\n\r\nimport java.util.concurrent.TimeUnit;\r\n\r\nimport org.openqa.selenium.By;\r\nimport org.openqa.selenium.WebDriver;\r\nimport org.openqa.selenium.WebElement;\r\nimport org.openqa.selenium.chrome.ChromeDriver;\r\n\r\n\r\npublic class Upload {\r\n\r\n\tpublic static void main(String[] args) {\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"\/home\/users\/garima.pathak\/Desktop\/softwares\/chromedriver\");\r\n\t\tWebDriver driver = new ChromeDriver();\r\n\t\tdriver.get(\"http:garima.com\/membership\/wp-admin\/admin.php?page=mass-upload\");\r\n\t\r\n\t\tdriver.manage().window().maximize();\r\n\t\tdriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\r\n\r\n                WebElement uploadZip = driver.findElement(By.id(\"upload_zip\"));\r\n                uploadZip.sendKeys(\"\/home\/users\/garima.pathak\/Desktop\/example.zip\");\r\n        \r\n                driver.findElement(By.name(\"submit_admin_csv\")).click();\r\n        \r\n        \r\n\t}\r\n\r\n}<\/pre>\n<p class=\"brush:java\">After running this script,we will be able to upload the file successfully and we get a message similar to the one shown in below screenshot :-<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-148965 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/message1.png\" alt=\"image2\" width=\"945\" height=\"128\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/message1.png 945w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/message1-250x34.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/message1-300x41.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/message1-768x104.png 768w\" sizes=\"(max-width: 945px) 100vw, 945px\" loading=\"lazy\" \/><\/p>\n<p>This is all about uploading files through Selenium WebDriver.<\/p>\n<p>Thanks for reading this blog \ud83d\ude42<\/p>\n<p>Happy testing!!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Uploading file is a common scenario found in many website now a days. We can handle uploading file through selenium webdriver. Below is the screenshot of upload file from chrome browser :- Step by step execution of Code:- 1. First we will set the path of chrome driver :- System.setProperty(&#8220;webdriver.chrome.driver&#8221;,&#8221;\/home\/users\/garima.pathak\/Desktop\/softwares\/chromedriver&#8221;); 2. Create a instance of <a href=\"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/\">[&#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":[5847],"tags":[350,1867,3138,5195],"class_list":["post-148918","post","type-post","status-publish","format-standard","hentry","category-selenium","tag-bulk-upload","tag-java","tag-selenium","tag-webdriver-using-chromedriver"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Uploading file through Selenium Webdriver - 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\/uploading-file-through-selenium-webdriver\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Uploading file through Selenium Webdriver - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Uploading file is a common scenario found in many website now a days. We can handle uploading file through selenium webdriver. Below is the screenshot of upload file from chrome browser :- Step by step execution of Code:- 1. First we will set the path of chrome driver :- System.setProperty(&quot;webdriver.chrome.driver&quot;,&quot;\/home\/users\/garima.pathak\/Desktop\/softwares\/chromedriver&quot;); 2. Create a instance of [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/uploading-file-through-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=\"2018-10-24T12:49:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-01-29T11:25:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile.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\/uploading-file-through-selenium-webdriver\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/\"},\"author\":{\"name\":\"Garima Pathak\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/e4e1f4ece892a640bd9b41f32c9b53ca\"},\"headline\":\"Uploading file through Selenium Webdriver\",\"datePublished\":\"2018-10-24T12:49:37+00:00\",\"dateModified\":\"2019-01-29T11:25:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/\"},\"wordCount\":213,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile.png\",\"keywords\":[\"bulk upload\",\"java\",\"Selenium\",\"Webdriver using Chromedriver\"],\"articleSection\":[\"Selenium\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/\",\"url\":\"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/\",\"name\":\"Uploading file through Selenium Webdriver - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile.png\",\"datePublished\":\"2018-10-24T12:49:37+00:00\",\"dateModified\":\"2019-01-29T11:25:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile.png\",\"width\":1135,\"height\":222},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Uploading file through 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\/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":"Uploading file through Selenium Webdriver - 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\/uploading-file-through-selenium-webdriver\/","og_locale":"en_US","og_type":"article","og_title":"Uploading file through Selenium Webdriver - Webkul Blog","og_description":"Uploading file is a common scenario found in many website now a days. We can handle uploading file through selenium webdriver. Below is the screenshot of upload file from chrome browser :- Step by step execution of Code:- 1. First we will set the path of chrome driver :- System.setProperty(\"webdriver.chrome.driver\",\"\/home\/users\/garima.pathak\/Desktop\/softwares\/chromedriver\"); 2. Create a instance of [...]","og_url":"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2018-10-24T12:49:37+00:00","article_modified_time":"2019-01-29T11:25:41+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile.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\/uploading-file-through-selenium-webdriver\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/"},"author":{"name":"Garima Pathak","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/e4e1f4ece892a640bd9b41f32c9b53ca"},"headline":"Uploading file through Selenium Webdriver","datePublished":"2018-10-24T12:49:37+00:00","dateModified":"2019-01-29T11:25:41+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/"},"wordCount":213,"commentCount":3,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile.png","keywords":["bulk upload","java","Selenium","Webdriver using Chromedriver"],"articleSection":["Selenium"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/","url":"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/","name":"Uploading file through Selenium Webdriver - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile.png","datePublished":"2018-10-24T12:49:37+00:00","dateModified":"2019-01-29T11:25:41+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/uploadfile.png","width":1135,"height":222},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/uploading-file-through-selenium-webdriver\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Uploading file through 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\/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\/148918","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=148918"}],"version-history":[{"count":23,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/148918\/revisions"}],"predecessor-version":[{"id":160727,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/148918\/revisions\/160727"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=148918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=148918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=148918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}