Pytest fixture that yields a Selenium WebDriver instance
()
| 7 | |
| 8 | @pytest.fixture(scope="session") |
| 9 | def driver(): |
| 10 | """Pytest fixture that yields a Selenium WebDriver instance""" |
| 11 | driver = DriverFolium() |
| 12 | try: |
| 13 | yield driver |
| 14 | finally: |
| 15 | driver.quit() |
| 16 | |
| 17 | |
| 18 | class DriverFolium(Chrome): |
nothing calls this directly
no test coverage detected
searching dependent graphs…