Railway Template for a FastAPI + Selenium service
['fastapi', 'python', 'railway', 'selenium']
Railway Template for a FastAPI + Selenium service
---
title: FastAPI + Selenium Webdriver
description: A FastAPI server with Selenium set up
tags:
  - fastapi
  - python
  - selenium
---
# FastAPI Example
This example starts up a [FastAPI](https://fastapi.tiangolo.com/) server with selenium already configured.
## ✨ Features
- FastAPI
- Python 3
- Selenium
## 💁‍♀️ How to use
- Deploy using the button 👆
- Clone locally and install packages with Pip using `pip install -r requirements.txt` or Poetry using `poetry install`
- Connect to your project using `railway link`
- Run locally using `uvicorn main:app --reload`
## 📝 Notes
- To learn about how to use FastAPI with most of its features, you can visit the [FastAPI Documentation](https://fastapi.tiangolo.com/tutorial/).
- FastAPI provides automatic documentation to call and test your API directly from the browser. You can access it at `/docs` with [Swagger](https://github.com/swagger-api/swagger-ui) or at `/redoc` with [Redoc](https://github.com/Rebilly/ReDoc).
- Selenium Webdriver is an automation library designed to enable testing and scraping of websites. Learn more about [Selenium](https://www.selenium.dev/documentation/webdriver/getting_started/)
- Thank you to the original [FastAPI Template](https://github.com/railwayapp-templates/fastapi)