1
0
Fork 0
EnglishPal/app/test/conftest.py

17 lines
270 B
Python

import pytest
import sqlite3
import time
from selenium import webdriver
from pathlib import Path
@pytest.fixture
def URL():
return 'http://127.0.0.1:5000' # URL of the program
@pytest.fixture
def driver():
my_driver = webdriver.Chrome()
return my_driver