F
F
fandorin_official2019-12-19 12:26:07
Python
fandorin_official, 2019-12-19 12:26:07

Why does clicking on the Selenium button lead to the wrong redirect?

The site has a button, clicking on which leads to some page (which is set in the site admin panel).
You can set up different redirect pages for different localizations.
When you change all this manually, the redirection is always correct.
But when it comes to autotest, when checking a redirect to other locations (other than Russian), the autotest redirects to the address set for Russian localization. If, after installing the localization of autotests, you check the redirection manually, then everything will work according to the expected result.
Already deleted the cookies, and cleared the cache of the site admin panel - the result is unchanged.
Why can the autotest redirect to another page?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question