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

07 Jul, 2020 06:21 PM
07 Jul, 2020 03:15 PM
05 Jul, 2020 02:33 AM
03 Jul, 2020 07:29 PM
03 Jul, 2020 03:53 AM

 

02 Jul, 2020 09:09 PM
02 Jul, 2020 03:24 PM
01 Jul, 2020 01:12 PM
30 Jun, 2020 04:26 PM
25 Jun, 2020 05:54 PM
24 Jun, 2020 08:11 AM