Skip to content

KlementK/selenium-cookie-lifetime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

selenium-cookie-lifetime

This project script uses Selenium to interact with Bing and retrieve the lifetime of cookies set by the website.

Installation Guide

Follow these steps to set up the project on your local machine:

1. Prerequisites

  • Python: Version 3.7 or higher.
  • Google Chrome Browser: Ensure it's installed and up-to-date.
  • Matching ChromeDriver:
    • Download the appropriate ChromeDriver for your Chrome version from ChromeDriver Downloads.
    • Place the chromedriver executable in the chromedriver/ folder of this repository.

2. Clone the Repository

Clone this repository to your local machine.


3. Set Up a Virtual Environment

  1. Create a virtual environment:
    python -m venv venv
  2. Activate the virtual environment:
    • On Windows:
      venv\Scripts\activate

4. Install Dependencies

Install the required Python packages using the requirements.txt file:

pip install -r requirements.txt

5. Run the Script

Run the script to retrieve and display cookie lifetime details:

python get_cookie_lifetime.py

License

This project is licensed under the MIT License.

About

A simple Selenium script to fetch and display cookie lifetime details from websites.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages