Selenium + Chromedriver

Asked

Viewed 298 times

3

I am developing a tool to log in to a site, but I have a problem.

When I do the manual procedure (opening browser, accessing website, entering user/password and logging in), the next one is loaded without opening another tab or another page, but when I perform via IDE, when logging in, the browser understands that it has to open another page.

Would anyone know how to solve this problem? Because I have looked for it and found nothing.

1 answer

1

I was able to solve (after divine intervention) the problem.

After I login to the site, I put the following code:

driver.getPageSource();

Thank you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.