/UpSolve

A python based automation script that uses the selenium framework to retrieve solutions to a problem specified by the user in his preffered language from hackerrank

Primary LanguagePython

UpSolve: A python script for upsolving problems from Hackerrank.

Getting Started:

Installion for Ubuntu:
  1. Install selenium using pip3 install selenium or conda install selenium, if you are using Anaconda.
  2. After cloning the repository, to install the drivers already provided, change to the drivers directory and execute the following instructions according to your browser preference.
  3. To run in chrome:
sudo cp chromedriver usr/bin
sudo cp chromedriver usr/local/bin

Press 1 when prompted for browser selection for chrome.

  1. To run in firefox:
sudo cp geckodriver usr/bin
sudo cp geckodriver usr/local/bin

Press 2 when prompted for browser selection for firefox.

There is a chance that an error may arise here, due to lack of permissions, in that case, please refer to this.

Before running the script, make sure the driver(here 'geckodriver' or 'chromedriver' ) is in the folders /usr/bin and /usr/local/bin.

  1. Make sure that you are using python3.6 or above.
  2. Enter python3 app.py in the project directory to run the script.
  3. Refer to this for instructions as to how to use the script.

For some screenshots of the working app, refer to the Project Report.

Contributing:

Visit this page to report issues in the project, contribute or request a new feature.

PS. If the documentation does not load on github as the file is slightly large for a pdf, just download the pdf.