le mie informazioni di contatto
Posta[email protected]
2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
python, versione3.9.5
pytest-playwright, version==0.5.1
allure-pytest, versione2.13.5
pytest, versione6.2.5
fascino, versione2.22.0
pytest-playwright
Sono supportati i seguenti parametri della riga di comando:
Playwright:
--browser={chromium,firefox,webkit}
Browser engine which should be used
--headed Run tests in headed mode.
--browser-channel=BROWSER_CHANNEL
Browser channel to be used.
--slowmo=SLOWMO Run tests with slow mo
--device=DEVICE Device to be emulated.
--output=OUTPUT Directory for artifacts produced by tests, defaults to test-results.
--tracing={on,off,retain-on-failure}
Whether to record a trace for each test.
--video={on,off,retain-on-failure}
Whether to record video for each test.
--screenshot={on,off,only-on-failure}
Whether to automatically capture a screenshot after each test.
--full-page-screenshot
Whether to take a full page screenshot
pytest-playwright
Questi tre parametri del plug-in vengono utilizzati per screenshot, registrazione dello schermo e tracciamento:
--tracing
Se registrare una traccia per ciascun test.on
、off
Oretain-on-failure
(valore di default:off
)。--video
Se registrare un video per ogni test.on
、off
Oretain-on-failure
(valore di default:off
)。--