GOOGLE_CHROME_VERSION_MAJOR=$(echo "$/chromedriver_linu圆4.zip GOOGLE_CHROME_VERSION="$(google-chrome -version | cut -f 3 -d ' ')" This is brittle as the HTML contents may change. The Chrome version eg: 1.115, does not always match the chrome driver version, eg: 1.61.Ĭurrently, I parse the contents of and try to figure out the right version. I have a set of tests that downloads the latest Google Chrome from and then parses the contents on to figure out the right chrome driver version to download.
0 Comments
Leave a Reply. |