VS2019 Build Image Firefox missing at expected location

sean's Avatar

sean

12 Nov, 2019 10:05 PM

I've attempted to switch my Selenium Test build to the VS 2019 build image, however, when I do so, I get the following error:
[00:02:16] Initialization method MathsPathway.Tests.UI.**.Setup threw exception. System.InvalidOperationException: Failed to start browser C:\Program Files (x86)\Mozilla Firefox\firefox.exe: no such file or directory (SessionNotCreated).

My setup follows the instructions at https://www.appveyor.com/docs/how-to/selenium-testing/ which have been working on the VS2017 image.

Do I need to change the Firefox install location? Or specify it differently for that image?

Thanks,
Sean.

  1. Support Staff 1 Posted by Feodor Fitsner on 12 Nov, 2019 10:47 PM

    Feodor Fitsner's Avatar

    Hi Sean,

    On VS 2019 image there is x64 version of Firefox in C:\Program Files\Mozilla Firefox\firefox.exe.

    You can do a check like in this test: https://github.com/appveyor-tests/selenium-tests/blob/master/Seleni...

  2. 2 Posted by sean on 13 Nov, 2019 12:01 AM

    sean's Avatar

    Awesome, thanks!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

05 Dec, 2019 09:12 PM
04 Dec, 2019 07:46 PM
04 Dec, 2019 12:01 AM
04 Dec, 2019 12:00 AM
03 Dec, 2019 11:00 PM