Skip to content

A Command Line Interface for Gandalf AI using Selenium in Python.

Notifications You must be signed in to change notification settings

djohoe28/Selenium_316294321

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gandalf CLI

Command Line Interface for Lakera AI's Gandalf Challenge.

Key Value
Name Jonathan Eddie Amir
ID # 316294321
Course Operating Systems & Linux
Teacher Daniel Ohayon
School Tel Hai Engineering
Year 2023-2024, 2nd Semester

Available on: /~https://github.com/djohoe28/Selenium_316294321

Introduction

This CLI is intended to streamline & allow automation for Lakera AI's Gandalf Challenge.

Installation

Same as Selenium, including your driver of choice.

Usage

For CLI instructions, please run main.py --help in Command Prompt or equivalent.

Modules

  • argument_types.py - Header file used to declare types, constants, and data classes.
  • argument_parser.py - Generates the argument parser using argparse, and parses the arguments given.
  • controller.py - Class used to streamline interacting with the webpage via the desired WebDriver instance.
  • interface.py - Class used to have the Command Line interface with Controller.
  • main.py - Used to run the program.

Libraries

  • Selenium - Web Scraping
  • argparse - Argument Parsing for Command Line Interface
  • CSV - .csv file support for output
  • JSON - .json file support for output

TODO:

  • Encrypt output
  • Pass all levels when no arguments are given
  • Better CSV & JSON integrations

About

A Command Line Interface for Gandalf AI using Selenium in Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages