This project is a web automation script for the Hepsiburada website, developed using Selenium and Python.
This project automates various tasks on the Hepsiburada website. It leverages Selenium to interact with the website's elements and perform actions such as searching for products, filtering results, and adding items to the cart.
- Search for products
- Filter search results
- Add products to the cart
- Navigate through different pages
- Extract product details
- Python 3.x
- pip (Python package installer)
- Clone the repository:
git clone https://github.com/mtaksel/hepsiburada-web-automation-test-case.git
- Navigate to the project directory:
cd hepsiburada-web-automation-test-case
- Install the required packages:
pip install -r requirements.txt
- Ensure you have the ChromeDriver installed and its path set in the script.
- Update the configuration settings in the
globalconstants.py
file if necessary. - Run the automation script:
python -m pytest tests
You can configure the script by modifying the globalconstants.py
file. Here, you can set parameters such as the base URL, search keywords, and other relevant settings.
- Go to root directory of your project and open
report.html
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes and commit them (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the MIT License. See the LICENSE file for more details.