We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f02996 + 5f839bd commit ef0ea51Copy full SHA for ef0ea51
NodeChrome/generate_config
@@ -1,9 +1,12 @@
1
#!/bin/bash
2
3
+CHROME_VERSION=$( sudo dpkg -s google-chrome-stable | grep Version | cut -d " " -f 2 | cut -d "-" -f 1 )
4
+
5
echo "
6
{
7
\"capabilities\": [
8
9
+ \"version\": \"$CHROME_VERSION\",
10
\"browserName\": \"chrome\",
11
\"maxInstances\": $NODE_MAX_INSTANCES,
12
\"seleniumProtocol\": \"WebDriver\"
NodeFirefox/generate_config
+FIREFOX_VERSION=$( firefox -version | cut -d " " -f 3 )
+ \"version\": \"$FIREFOX_VERSION\",
\"browserName\": \"firefox\",
0 commit comments