Selenium Python - Test Framework Integration (pytest)
What will happen if you run this pytest test?
import pytest
from selenium import webdriver
@pytest.fixture
def driver():
driver = webdriver.Chrome()
yield driver
driver.close()
def test_url(driver):
driver.get('https://example.com')
assert driver.current_url == 'https://example.com/'
