Playwright_Pytest_BDD_Demo/step_definitions/conftest.py

9 lines
155 B
Python
Executable File

# -*- coding:utf-8 -*-
import pytest
from page_object.search import Search
@pytest.fixture(scope='module')
def search_page(page):
yield Search(page)