Open vmonteco opened 1 year ago
From the example you provided, you're not using this plugin.
It should look like:
test_base.py
def test_base(driver):
driver.get("https://google.com/")
Given you've passed in the --driver chrome
argument to pytest.
Also, there's no 4.10
version of this plugin. Latest is 4.0.1
.
I'm trying to get the most minimalist example possible to ensure my setup is correct.
Yet, when I try to run the following test file :
test_base.py :
I get the following :
Here are the versions I use : Python = 3.9.7 Pytest = 7.3.2 Pytest-selenium = 4.10
I also tried with and without the
--driver parameter
option for an identical result.What did I get wrong on the pytest-selenium point of vier?