Question

I am trying to create a script to tests an application which performs searches. When I am launching a browser manually and perform a search manually everything works fine. But when I am doing the same using selenium script when selenium clicks the Search button, browser shows loading bar and it loads endless. I can't get to results page.

Does anyone meet such issue?

Was it helpful?

Solution

I will not be that helpful with my answer, but no: My selenium scripts were always running and the page was responding. Sometimes I had strange behavior which was fixed mainly by:

  • Switching drivers - from FirefoxDriver to ChromeDriver and vice versa
  • Upgrading browsers to the newest version available
  • Upgrading Selenium to newest version
  • Veryfying the test by running it in Selenium IDE first and then via WebDriver

Another guess:

  • You can still run the FirefoxDriver with custom profile. Try running it through the same profile as you are using during the manual testing.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top