Answer the question
In order to leave comments, you need to log in
How to open the site and wait until the user manually logs in to the site and then continue testing selenium?
In general, I launch chrome through webdriver . The authorization page opens. How to wait indefinitely until the user logs in to the site. it can be 30 seconds or 3 hours. and after authorization run tests.
And the second question is how to find out that the user has logged in during the test and pause the test?
Answer the question
In order to leave comments, you need to log in
solved
bool auth = false;
while (auth == false) auth = driver1.WaitUntilExists(By.LinkText("Profile"), 10);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question