File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 export CHROMEDRIVER_VERSION=`curl -s https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${CHROME_MAJOR_VERSION%%.*}`
2121 curl -L -O "https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
2222 unzip chromedriver_linux64.zip && chmod +x chromedriver && sudo mv chromedriver /usr/local/bin
23- export CHROMEDRIVER_VERSION=`curl -s https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${CHROME_MAJOR_VERSION%%.*}`
24- curl -L -O "https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
25- unzip chromedriver_linux64.zip && chmod +x chromedriver && sudo mv chromedriver /usr/local/bin
26- chromedriver -version
23+ chromedriver --version
2724 shell: bash
Original file line number Diff line number Diff line change 1+ name : ' Setup Edge and EdgeDriver'
2+ description : ' Setup Edge and EdgeDriver'
3+ inputs :
4+ version :
5+ description : ' Edge version'
6+ required : false
7+ default : ' stable'
8+ runs :
9+ using : " composite"
10+ steps :
11+ - run : |
12+ wget -q -O - https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
13+ echo "deb https://packages.microsoft.com/repos/edge stable main" | sudo tee -a /etc/apt/sources.list.d/microsoft-edge.list
14+ sudo apt-get update -qqy
15+ sudo apt-get -qqy install microsoft-edge-stable
16+ EDGE_VERSION=$(microsoft-edge-stable --version)
17+ EDGE_FULL_VERSION=${EDGE_VERSION%%.*}
18+ EDGE_MAJOR_VERSION=${EDGE_FULL_VERSION//[!0-9]}
19+ sudo rm /etc/apt/sources.list.d/microsoft-edge.list
20+
21+ export EDGE_DRIVER_VERSION=$(wget --no-verbose -O - "https://msedgedriver.azureedge.net/LATEST_RELEASE_${EDGE_MAJOR_VERSION}_LINUX" | tr -cd "\11\12\15\40-\176" | tr -d "\r")
22+ wget --no-verbose https://msedgedriver.azureedge.net/${EDGE_DRIVER_VERSION}/edgedriver_linux64.zip
23+ unzip edgedriver_linux64.zip && chmod +x msedgedriver && sudo mv msedgedriver /usr/local/bin
24+ msedgedriver --version
25+ shell: bash
You can’t perform that action at this time.
0 commit comments