def raise_301(instance, location):
    _set_location(instance, location)
    instance.response.status = 301
    raise ResponseException(instance.response)
Alias for :py:meth:`~webdriverwrapper.wrapper._WebdriverWrapper.switch_to_window`.
dataset/ETHPy150Open pneff/wsgiservice/wsgiservice/status.py/raise_301--crossover with--dataset/ETHPy150Open horejsek/python-webdriverwrapper/webdriverwrapper/unittest/testcase.py/WebdriverTestCase.switch_to_window