start_browser never raise exception
Bug #1265296 reported by
adam
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
selenium-simple-test |
New
|
Undecided
|
Unassigned |
Bug Description
in "cases.py" line 99, you used "range(1, max_attempts)" which will lead to "[1,2,3,4]", but on line 105 you try to raise an exception when attempt times large or equal to "max_attempts" which is 5. But actually, this condition will never achieve since the for loop will stop on the 4th attempt.
To post a comment you must log in.