May 18, 2020 ยท The @pytest.mark.parametrize decorator enables the parameterization of arguments for a test function. Using this decorator, you can use a data-driven approach to testing as Selenium test automation can be executed across different input combinations. Here is how @pytest.mark.parametrize decorator can be used to pass input values:. "/>Pytest parametrize class