This isn't quite correct: `(WebDriverException, )` is a tuple (note the comma), but `(WebDriverException)` is a single value.
This function happens to work correctly when `ignored_exceptions` is an Exception (not a tuple), but the docstring should explain this.

Also, the `except` clause works correctly *only* with tuples, not other kinds of iterables (lists or dicts).