<filename>Automation/Pytest_course_Fast_scalable_professional_grade_framework_design/2.1_test_parametrize/conftest.py
from pytest import fixture
from selenium import webdriver

import time


@fixture(params=[webdriver.Chrome, webdriver.Opera])
def browser(request):
    driver = request.param
    drvr = driver()
    yield drvr
    drvr.quit()
    time.sleep(10)

<filename>Automation/Pytest_course_Fast_scalable_professional_grade_framework_design/2.1_test_parametrize/conftest.py
from pytest import fixture
from selenium import webdriver

import time


@fixture(params=[webdriver.Chrome, webdriver.Opera])
def browser(request):
    driver = request.param
    drvr = driver()
    yield drvr
    drvr.quit()
    time.sleep(10)
