2021-12-03 09:08:45 +08:00
|
|
|
import pytest
|
|
|
|
from selenium import webdriver
|
|
|
|
|
|
|
|
@pytest.fixture
|
|
|
|
def URL():
|
|
|
|
return 'http://127.0.0.1:5000' # URL of the program
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.fixture
|
|
|
|
def driver():
|
2024-04-09 12:11:30 +08:00
|
|
|
return webdriver.Edge() # uncomment this line if you wish to run the test on your laptop
|