Why pressing the button Selenium isn't in the same redirect?
On the website there is a button, clicking on which leads to some page (which is defined in the admin site).
For different localizations, you can configure different pages redirect.
When you change it all handles the redirection always correct.
But when it comes to AutoTest, then when you check the redirect on other lokasari (non-Russian) the AutoTest proizvodit redirect to the address set for the Russian localization. If after installing the localization of automated tests to verify the forwarding of hands, then everything will work according to the expected result.
Already deleted cookies and the cache of the admin of the site cleared - the result is unchanged.