Skip to content

Deployment

damiancosmoschapman edited this page Jan 6, 2022 · 14 revisions
  1. To publish the Chrome driver to an environment, i.e. test, production etc.

    You need to add the PublishChromeDriver tag i.e.

    <PublishChromeDriver>true</PublishChromeDriver>

    in .csproj file as shown below:

    <PropertyGroup> <PublishChromeDriver>true</PublishChromeDriver> </PropertyGroup>

    This will publish the chrome driver when publishing the project.

  2. You will also need to install Google Chrome in the deployment server, if it is not already installed. You will need to install version 95.0.4638.69 To install download from here: https://chromium.cypress.io/win64/stable/95.0.4638.69 This will download the zip file Win_x64_920037_chrome-win.zip

On the server to be installed create the directory C:\Program Files\Google\Application Open the Win_x64_920037_chrome-win.zip file and copy the contents of the chrome-win directory to C:\Program Files\Google\Application

To test double click on chrome in the C:\Program Files\Google\Application directory

This should open Google Chrome

On the top right of the page right click on the ellipsis icon and click on the About Chromium menu item.

This will display the version which should be Version 95.0.4638.0 (Developer Build) (64-bit)

Clone this wiki locally