Commit c0d8f5f
committed
[py] Ignore exception in no_driver_after_test fixture
The `no_driver_after_test` indicates that tests are expected
to quit the driver themselves, leaving `selenium_driver` with a stale
driver instance.
This commit keeps the `stop_driver()` call as a safety fallback, but
ignores WebDriverExceptions since they're expected in the call when
the test properly quits the driver.1 parent a61dff1 commit c0d8f5f
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
350 | 351 | | |
351 | 352 | | |
352 | 353 | | |
353 | | - | |
354 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
355 | 361 | | |
356 | 362 | | |
357 | 363 | | |
| |||
0 commit comments