{"name":"Yatra-Calendar-Automation-Solution","generatedAt":"2026-10-04T08:25:35.938Z","languages":{"Java":11326},"commitTotal":4,"commits":[{"sha":"cf50f6325b26ac9ff95bf59d7858fca9bf3a5162","message":"Update README.md","date":"2025-07-16T11:00:24Z","author":"Ayush Mishra","login":"Aayush-Mishraa","avatar":"https://avatars.githubusercontent.com/u/89012492?v=4","verified":true,"url":"https://github.com/Aayush-Mishraa/Yatra-Calendar-Automation-Solution/commit/cf50f6325b26ac9ff95bf59d7858fca9bf3a5162"},{"sha":"5062e3cbc1f5f8bb2975859a8edefca5728c40d1","message":"Create README.md","date":"2025-07-16T11:00:01Z","author":"Ayush Mishra","login":"Aayush-Mishraa","avatar":"https://avatars.githubusercontent.com/u/89012492?v=4","verified":true,"url":"https://github.com/Aayush-Mishraa/Yatra-Calendar-Automation-Solution/commit/5062e3cbc1f5f8bb2975859a8edefca5728c40d1"},{"sha":"9a521a846ac7b9dd7459f05b264d85ce6cee7c66","message":"merge in the main branch","date":"2025-07-16T10:52:14Z","author":"Ayush Mishra","login":"Aayush-Mishraa","avatar":"https://avatars.githubusercontent.com/u/89012492?v=4","verified":false,"url":"https://github.com/Aayush-Mishraa/Yatra-Calendar-Automation-Solution/commit/9a521a846ac7b9dd7459f05b264d85ce6cee7c66"},{"sha":"2cc20b87190a2ec38d60a716dac9c5c81519dfc5","message":"Yatra Calendar Automation Solution","date":"2025-07-16T06:47:54Z","author":"Ayush Mishra","login":"Aayush-Mishraa","avatar":"https://avatars.githubusercontent.com/u/89012492?v=4","verified":false,"url":"https://github.com/Aayush-Mishraa/Yatra-Calendar-Automation-Solution/commit/2cc20b87190a2ec38d60a716dac9c5c81519dfc5"}],"readmeHtml":"<div id=\"readme\" class=\"md\" data-path=\"README.md\"><article class=\"markdown-body entry-content container-lg\" itemprop=\"text\"><hr>\n<div class=\"markdown-heading\" dir=\"auto\"><h1 class=\"heading-element\" dir=\"auto\"><g-emoji class=\"g-emoji\" alias=\"airplane\">✈️</g-emoji> Yatra Flight Fare Comparison Script</h1><a id=\"user-content-️-yatra-flight-fare-comparison-script\" class=\"anchor\" aria-label=\"Permalink: ✈️ Yatra Flight Fare Comparison Script\" href=\"#️-yatra-flight-fare-comparison-script\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a></div>\n<p dir=\"auto\">This Java-based Selenium automation script scrapes and compares the <strong>lowest flight fares</strong> for the current and next month on <a href=\"https://www.yatra.com\" rel=\"nofollow\">Yatra.com</a>.</p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">📌 Features</h2><a id=\"user-content--features\" class=\"anchor\" aria-label=\"Permalink: 📌 Features\" href=\"#-features\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a></div>\n<ul dir=\"auto\">\n<li>Automatically opens Yatra's flight booking calendar</li>\n<li>Closes promotional pop-up if displayed</li>\n<li>Extracts flight fare data from calendar</li>\n<li>Identifies the <strong>lowest fare</strong> for both current and next month</li>\n<li>Compares and prints the better fare with a friendly message</li>\n</ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">🛠 Tech Stack</h2><a id=\"user-content--tech-stack\" class=\"anchor\" aria-label=\"Permalink: 🛠 Tech Stack\" href=\"#-tech-stack\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a></div>\n<ul dir=\"auto\">\n<li>Java 8+</li>\n<li>Selenium WebDriver</li>\n<li>ChromeDriver</li>\n<li>Maven (optional but recommended for dependency management)</li>\n</ul>\n<hr>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">⚙️ Setup Instructions</h2><a id=\"user-content-️-setup-instructions\" class=\"anchor\" aria-label=\"Permalink: ⚙️ Setup Instructions\" href=\"#️-setup-instructions\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a></div>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Clone this repository:</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https://github.com/Aayush-Mishraa/Yatra-Calendar-Automation-Solution.git\ncd Yatra-Calendar-Automation-Solution\"><pre>git clone https://github.com/Aayush-Mishraa/Yatra-Calendar-Automation-Solution.git\n<span class=\"pl-c1\">cd</span> Yatra-Calendar-Automation-Solution</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Install dependencies:</strong></p>\n<ul dir=\"auto\">\n<li>If using Maven, make sure your <code>pom.xml</code> includes:\n<div class=\"highlight highlight-text-xml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"&lt;dependency&gt;\n  &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;\n  &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;\n  &lt;version&gt;4.0.0&lt;/version&gt;\n&lt;/dependency&gt;\"><pre>&lt;<span class=\"pl-ent\">dependency</span>&gt;\n  &lt;<span class=\"pl-ent\">groupId</span>&gt;org.seleniumhq.selenium&lt;/<span class=\"pl-ent\">groupId</span>&gt;\n  &lt;<span class=\"pl-ent\">artifactId</span>&gt;selenium-java&lt;/<span class=\"pl-ent\">artifactId</span>&gt;\n  &lt;<span class=\"pl-ent\">version</span>&gt;4.0.0&lt;/<span class=\"pl-ent\">version</span>&gt;\n&lt;/<span class=\"pl-ent\">dependency</span>&gt;</pre></div>\n</li>\n<li>Download <a href=\"https://chromedriver.chromium.org/downloads\" rel=\"nofollow\">ChromeDriver</a> if not already present. Selenium 4+ automatically manages driver binaries, so manual path setup is <strong>not required</strong>.</li>\n</ul>\n</li>\n<li>\n<p dir=\"auto\"><strong>Configure ChromeDriver:</strong></p>\n<ul dir=\"auto\">\n<li><strong>No manual path configuration needed!</strong><br>\nSelenium Manager will automatically find and use the correct ChromeDriver version matching your installed Chrome browser.</li>\n</ul>\n</li>\n</ol>\n<hr>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">🚀 Usage</h2><a id=\"user-content--usage\" class=\"anchor\" aria-label=\"Permalink: 🚀 Usage\" href=\"#-usage\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a></div>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Run the Java program:</strong></p>\n<ul dir=\"auto\">\n<li>Open your terminal and navigate to <code>src/main/java/com/yatra/automation/</code>.</li>\n<li>Compile and run:\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"javac YatraAutomationScript3.java\njava com.yatra.automation.YatraAutomationScript3\"><pre>javac YatraAutomationScript3.java\njava com.yatra.automation.YatraAutomationScript3</pre></div>\n</li>\n<li>Or use your IDE to run <code>YatraAutomationScript3.java</code>.</li>\n</ul>\n</li>\n<li>\n<p dir=\"auto\"><strong>View the results:</strong></p>\n<ul dir=\"auto\">\n<li>The script will print the lowest fares for the current and next month, and indicate which is cheaper.</li>\n</ul>\n</li>\n</ol>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">📂 Project Structure</h2><a id=\"user-content--project-structure\" class=\"anchor\" aria-label=\"Permalink: 📂 Project Structure\" href=\"#-project-structure\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a></div>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"src/\n└── main/\n    └── java/\n        └── com/\n            └── yatra/\n                └── automation/\n                    └── YatraAutomationScript3.java\"><pre class=\"notranslate\"><code>src/\n└── main/\n    └── java/\n        └── com/\n            └── yatra/\n                └── automation/\n                    └── YatraAutomationScript3.java\n</code></pre></div>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">🤝 Contributing</h2><a id=\"user-content--contributing\" class=\"anchor\" aria-label=\"Permalink: 🤝 Contributing\" href=\"#-contributing\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a></div>\n<p dir=\"auto\">Contributions, issues, and feature requests are welcome!<br>\nFeel free to check the <a href=\"https://github.com/Aayush-Mishraa/Yatra-Calendar-Automation-Solution/issues\">issues page</a> if you want to contribute.</p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">📄 License</h2><a id=\"user-content--license\" class=\"anchor\" aria-label=\"Permalink: 📄 License\" href=\"#-license\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a></div>\n<p dir=\"auto\">This project is licensed under the MIT License. See the <a href=\"LICENSE\">LICENSE</a> file for details.</p>\n<hr>\n<p dir=\"auto\">Tip:\nFor troubleshooting, ensure your Chrome and ChromeDriver versions match. If you encounter element not found errors, check if Yatra.com has updated its UI or calendar widget.</p>\n</article></div>","tree":{"fileCount":9,"dirCount":7,"truncated":false,"extensions":[{"ext":"prefs","count":2},{"ext":"java","count":2},{"ext":"classpath","count":1},{"ext":"gitignore","count":1},{"ext":"project","count":1},{"ext":"md","count":1},{"ext":"xml","count":1}],"topLevel":[{"name":".settings","type":"dir"},{"name":"src","type":"dir"},{"name":".classpath","type":"file"},{"name":".gitignore","type":"file"},{"name":".project","type":"file"},{"name":"pom.xml","type":"file"},{"name":"README.md","type":"file"}]}}