G
G
generation_next2018-09-26 17:27:32
Automation
generation_next, 2018-09-26 17:27:32

How to launch firefox browser through TeamCity?

Situation - when running gui tests through teamcity, tests fail with an error

selenium.common.exceptions.WebDriverException: Message: The browser appears to have exited before we could connect. If you specified a log_file in the FirefoxBinary constructor, check it for details.

The main problem is that the agent in teamcity cannot open the browser.
Teamcity server on Ubuntu OS using vnc (shouldn't be a problem since the monik is connected directly)
selenium == 2.53.6
ff==45.0.2
i.e. link is working.
If tests are run directly, not through TC, then everything works correctly.
Can anyone suggest what?
PS
So far I'm using a virtual display, but still not everything is so smooth through it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ser_rostr2, 2018-12-28
@ser_rostr2

Try using firefox version above, at least 47.01
A QA friend of mine had a similar problem in his project.
Wash there was a bug with firefox connected.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question