Code Monkey home page Code Monkey logo

bookshelveshackathon's Introduction

Display Bookshelves

This repository contains a script that displays bookshelves based on certain criteria from a specified website. The script retrieves information such as the name and price of bookshelves and performs various filtering operations.

Problem Statement

The goal is to display bookshelves based on the following criteria:

  1. The bookshelves should be priced below Rs. 15,000.
  2. Out-of-stock items should also be included.
  3. The storage type of the bookshelves should be open.

Solution

To solve the problem, the script performs the following steps:

  1. Retrieves and displays the name and price of the first three bookshelves that meet the criteria of being below Rs. 15,000, having an open storage type, and including out-of-stock items.
  2. Retrieves and displays all sub-menu items under the "Being-At-home" category from the collections section of a specified website.
  3. Simulates the process of customizing a birthday/anniversary gift card on the website. It fills the necessary details, deliberately providing an invalid input (e.g., an invalid email address) to capture and display the resulting error message.

Key Automation Scope

The script covers the following key automation tasks:

  • Handling alerts that may appear during the execution.
  • Performing drag and drop operations, if required.
  • Implementing search functionality, if applicable.
  • Extracting menu items and storing them in collections for further use.
  • Navigating back to the home page after completing a specific task.
  • Scrolling down a web page to access additional content.
  • Filling out various forms on different web page objects.
  • Capturing and displaying warning messages, if any.

Usage

To use the script, follow these steps:

  1. Install the necessary dependencies for the script to run successfully.
  2. Run the script on a compatible web browser.
  3. Observe the output, which will display the bookshelves, sub-menu items, and any error or warning messages encountered during execution.

Please note that the script is designed to work with the suggested website, urbanladder.com, but it can be modified to work with other legitimate websites as well.

Disclaimer

The script provided in this repository is for educational and demonstration purposes only. It is essential to respect the terms and conditions, as well as the policies of the targeted website, when using or modifying the script. The repository owners and contributors are not responsible for any misuse or violation of website terms that may arise from using this script.

bookshelveshackathon's People

Contributors

alokkr016 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.