ScriptQuin This project combines Streamlit, the ChatGPT API, and Selenium(in python) to create a user-friendly platform. Users input HTML code, and gets Selenium test scripts in Python, streamlining the process of automated testing for web applications.
Code Generator: Put you html code inside text box given and then click Generate Script
button to get the script on right half portion of streamlit app.
ScriptQuin.mp4
Ensure you have Python installed on your system. You can download it from python.org.
Before running ScriptQuin, you will need an OpenAI API key if the project utilizes OpenAI's services. You can obtain an API key by registering on the OpenAI platform.
- Clone the repository:
git clone https://github.com/SauravKumarMahato/ScriptQuin.git
- Navigate to the cloned directory:
cd ScriptQuin
- Install the required dependencies:
pip install -r requirements.txt
- Add your OpenAI API key at the top api_call.py files having section something like below:
openai.api_key = "YOUR_API_KEY"
For running the Projet write below code in your terminal.
streamlit run app.py
It will now open a web interface of streamlit and now you can test the application.
Main dependencies which are required for this project to run are given below:
- openai
- streamlit
You can find all dependencies required in requirements.txt
We encourage contributions to enhance and elevate ScriptQuin. Don't hesistate to submit issues, suggest new features, or initiate pull requests. Kindly follow our Code of Conduct for a respectful and collaborative environment.
This project is licensed under the MIT License.