File tree 3 files changed +15
-14
lines changed
3 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,13 @@ import (
17
17
"github.com/tebeka/selenium/internal/zip"
18
18
)
19
19
20
- // DeprecatedCapabilitiesKey and CapabilitiesKey are the key in the top-level
21
- // Capabilities map under which ChromeDriver expects the Chrome-specific
22
- // options to be set.
23
- const DeprecatedCapabilitiesKey = "chromeOptions"
20
+ // CapabilitiesKey is the key in the top-level Capabilities map under which
21
+ // ChromeDriver expects the Chrome-specific options to be set.
24
22
const CapabilitiesKey = "goog:chromeOptions"
25
23
24
+ // DeprecatedCapabilitiesKey is the legacy version of CapabilitiesKey.
25
+ const DeprecatedCapabilitiesKey = "chromeOptions"
26
+
26
27
// Capabilities defines the Chrome-specific desired capabilities when using
27
28
// ChromeDriver. An instance of this struct can be stored in the Capabilities
28
29
// map with a key of CapabilitiesKey ("goog:chromeOptions"). See
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ const (
40
40
// Chrome 75, "loggingPrefs" has been changed to "goog:loggingPrefs"
41
41
const CapabilitiesKey = "goog:loggingPrefs"
42
42
43
- // Capability is the map to include in the WebDriver capabilities structure to
44
- // configure logging.
43
+ // Capabilities is the map to include in the WebDriver capabilities structure
44
+ // to configure logging.
45
45
type Capabilities map [Type ]Level
46
46
47
47
// Message is a log message returned from the Log method.
Original file line number Diff line number Diff line change @@ -95,20 +95,20 @@ type Capabilities struct {
95
95
WebDriverScreenshot * bool `json:"webdriverRemoteQuietExceptions,omitempty"`
96
96
}
97
97
98
- // A visibility level for a test.
98
+ // Visibility is a visibility level for a test.
99
99
type Visibility string
100
100
101
101
const (
102
- // The test is accessible to everyone.
102
+ // Public is the visibility to specify that the result is accessible to everyone.
103
103
Public Visibility = "public"
104
- // Allow anonymous users access to the result page and video, but not the
105
- // logs.
104
+ // PublicRestricted is the visibility to specify that anonymous users have
105
+ // access to the result page and video, but not the logs.
106
106
PublicRestricted Visibility = "public restricted"
107
- // Make the test be only accessible to people under the same root account as
108
- // you .
107
+ // Team is the visibility to specify that the results are only accessible to
108
+ // people under the same root account as the executor's .
109
109
Team Visibility = "team"
110
- // Only the owner of the test will be able to view assets and test result
111
- // page.
110
+ // Private is the visibility to specify that only the owner of the test will
111
+ // be able to view assets and test result page.
112
112
Private Visibility = "private"
113
113
)
114
114
You can’t perform that action at this time.
0 commit comments