A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/seleniumhq/selenium/commit/c06370910c804e7de0cbdc3c1eae131bd634f55f below:

fix some typos in code and documentation (#11009) · SeleniumHQ/selenium@c063709 · GitHub

File tree Expand file treeCollapse file tree 17 files changed

+36

-36

lines changed

Filter options

Expand file treeCollapse file tree 17 files changed

+36

-36

lines changed Original file line number Diff line number Diff line change

@@ -122,7 +122,7 @@ bazel test //java/... --test_size_filters=small,medium,large --test_tag_filters=

122 122

```

123 123 124 124

The `test_size_filters` argument takes small, medium, large. Small are akin to unit tests,

125 -

medium is akin to integration tests, and large is akin to end to end tests.

125 +

medium is akin to integration tests, and large is akin to end-to-end tests.

126 126 127 127

The `test_tag_filters` allow us to pass in browser names and a few different tags that we can

128 128

find in the code base.

Original file line number Diff line number Diff line change

@@ -6461,11 +6461,11 @@

6461 6461

},

6462 6462

{

6463 6463

"name": "clearDeviceMetricsOverride",

6464 -

"description": "Clears the overriden device metrics."

6464 +

"description": "Clears the overridden device metrics."

6465 6465

},

6466 6466

{

6467 6467

"name": "clearGeolocationOverride",

6468 -

"description": "Clears the overriden Geolocation Position and Error."

6468 +

"description": "Clears the overridden Geolocation Position and Error."

6469 6469

},

6470 6470

{

6471 6471

"name": "resetPageScaleFactor",

@@ -6779,7 +6779,7 @@

6779 6779

},

6780 6780

{

6781 6781

"name": "initialVirtualTime",

6782 -

"description": "If set, base::Time::Now will be overriden to initially return this value.",

6782 +

"description": "If set, base::Time::Now will be overridden to initially return this value.",

6783 6783

"optional": true,

6784 6784

"$ref": "Network.TimeSinceEpoch"

6785 6785

}

@@ -12383,7 +12383,7 @@

12383 12383

},

12384 12384

{

12385 12385

"name": "clearDeviceMetricsOverride",

12386 -

"description": "Clears the overriden device metrics.",

12386 +

"description": "Clears the overridden device metrics.",

12387 12387

"experimental": true,

12388 12388

"deprecated": true,

12389 12389

"redirect": "Emulation"

@@ -12397,7 +12397,7 @@

12397 12397

},

12398 12398

{

12399 12399

"name": "clearGeolocationOverride",

12400 -

"description": "Clears the overriden Geolocation Position and Error.",

12400 +

"description": "Clears the overridden Geolocation Position and Error.",

12401 12401

"deprecated": true,

12402 12402

"redirect": "Emulation"

12403 12403

},

@@ -17189,4 +17189,4 @@

17189 17189

]

17190 17190

}

17191 17191

]

17192 -

}

17192 +

}

Original file line number Diff line number Diff line change

@@ -2969,10 +2969,10 @@ domain Emulation

2969 2969

# True if emulation is supported.

2970 2970

boolean result

2971 2971 2972 -

# Clears the overriden device metrics.

2972 +

# Clears the overridden device metrics.

2973 2973

command clearDeviceMetricsOverride

2974 2974 2975 -

# Clears the overriden Geolocation Position and Error.

2975 +

# Clears the overridden Geolocation Position and Error.

2976 2976

command clearGeolocationOverride

2977 2977 2978 2978

# Requests that page scale factor is reset to initial values.

@@ -3120,7 +3120,7 @@ domain Emulation

3120 3120

# If set the virtual time policy change should be deferred until any frame starts navigating.

3121 3121

# Note any previous deferred policy change is superseded.

3122 3122

optional boolean waitForNavigation

3123 -

# If set, base::Time::Now will be overriden to initially return this value.

3123 +

# If set, base::Time::Now will be overridden to initially return this value.

3124 3124

optional Network.TimeSinceEpoch initialVirtualTime

3125 3125

returns

3126 3126

# Absolute timestamp at which virtual time was first enabled (up time in milliseconds).

@@ -5776,7 +5776,7 @@ domain Page

5776 5776

# Serialized page data.

5777 5777

string data

5778 5778 5779 -

# Clears the overriden device metrics.

5779 +

# Clears the overridden device metrics.

5780 5780

experimental deprecated command clearDeviceMetricsOverride

5781 5781

# Use 'Emulation.clearDeviceMetricsOverride' instead

5782 5782

redirect Emulation

@@ -5786,7 +5786,7 @@ domain Page

5786 5786

# Use 'DeviceOrientation.clearDeviceOrientationOverride' instead

5787 5787

redirect DeviceOrientation

5788 5788 5789 -

# Clears the overriden Geolocation Position and Error.

5789 +

# Clears the overridden Geolocation Position and Error.

5790 5790

deprecated command clearGeolocationOverride

5791 5791

# Use 'Emulation.clearGeolocationOverride' instead

5792 5792

redirect Emulation

Original file line number Diff line number Diff line change

@@ -28,7 +28,7 @@

28 28

</td>

29 29

</tr>

30 30

<!-- test API getters -->

31 - 31 + 32 32

<tr>

33 33

<td>open</td>

34 34

<td>../tests/html/test_get.html</td>

@@ -37,13 +37,13 @@

37 37 38 38

<!-- IE uppercases the property names of the style.

39 39

Firefox lowercases the property names of the style.

40 -

IE omits the trailing semi-colon. -->

40 +

IE omits the trailing semicolon. -->

41 41

<tr>

42 42

<td>verifyAttribute</td>

43 43

<td>//img[@alt='banner']@style</td>

44 44

<td>regexp:(width|WIDTH): 644px; (height|HEIGHT): 41px(;?)</td>

45 45

</tr>

46 - 46 + 47 47

<!-- This asserts on the current behavior of selArrayToString(). Commas and

48 48

backslashes are escaped in array values. Backslash-craziness!! -->

49 49

<tr>

Original file line number Diff line number Diff line change

@@ -140,7 +140,7 @@ default String getDomAttribute(String name) {

140 140

* neither exists, null is returned.

141 141

* <p>

142 142

* The "style" attribute is converted as best can be to a text representation with a trailing

143 -

* semi-colon.

143 +

* semicolon.

144 144

* <p>

145 145

* The following are deemed to be "boolean" attributes, and will return either "true" or null:

146 146

* <p>

Original file line number Diff line number Diff line change

@@ -84,7 +84,7 @@ public SessionRequest(

84 84

Map<String, Object> metadata,

85 85

Map<String, String> traceHeaders) {

86 86

this.requestId = Require.nonNull("Request ID", requestId);

87 -

this.enqueued = Require.nonNull("Enqueud time", enqueued);

87 +

this.enqueued = Require.nonNull("Enqueued time", enqueued);

88 88

this.downstreamDialects = unmodifiableSet(

89 89

new HashSet<>(Require.nonNull("Downstream dialects", downstreamDialects)));

90 90

this.desiredCapabilities = unmodifiableSet(

Original file line number Diff line number Diff line change

@@ -117,7 +117,7 @@ public static SessionMap create(Config config) {

117 117

public boolean isReady() {

118 118

try {

119 119

return !connection.isClosed();

120 -

} catch (SQLException throwables) {

120 +

} catch (SQLException throwable) {

121 121

return false;

122 122

}

123 123

}

Original file line number Diff line number Diff line change

@@ -168,7 +168,7 @@ public WebSocket send(Message message) {

168 168

CloseMessage closeMessage = (CloseMessage) message;

169 169

makeCall = () -> underlyingSocket.sendClose(closeMessage.code(), closeMessage.reason());

170 170

} else {

171 -

throw new IllegalArgumentException("Unsupport message type: " + message);

171 +

throw new IllegalArgumentException("Unsupported message type: " + message);

172 172

}

173 173 174 174

synchronized (underlyingSocket) {

Original file line number Diff line number Diff line change

@@ -1230,7 +1230,7 @@ public String toString() {

1230 1230

*

1231 1231

* @param element used as parent element. For example table with locator By.xpath("//table")

1232 1232

* @param childLocator used to find child element. For example td By.xpath("./tr/td")

1233 -

* @return visible subelement

1233 +

* @return visible sub-element

1234 1234

*/

1235 1235

public static ExpectedCondition<List<WebElement>> visibilityOfNestedElementsLocatedBy(

1236 1236

final WebElement element, final By childLocator) {

@@ -1261,7 +1261,7 @@ public String toString() {

1261 1261

* @param locator used to check parent element. For example table with locator

1262 1262

* By.xpath("//table")

1263 1263

* @param childLocator used to find child element. For example td By.xpath("./tr/td")

1264 -

* @return subelement

1264 +

* @return sub-element

1265 1265

*/

1266 1266

public static ExpectedCondition<WebElement> presenceOfNestedElementLocatedBy(

1267 1267

final By locator, final By childLocator)

@@ -1285,7 +1285,7 @@ public String toString() {

1285 1285

*

1286 1286

* @param element used as parent element

1287 1287

* @param childLocator used to find child element. For example td By.xpath("./tr/td")

1288 -

* @return subelement

1288 +

* @return sub-element

1289 1289

*/

1290 1290

public static ExpectedCondition<WebElement> presenceOfNestedElementLocatedBy(

1291 1291

final WebElement element, final By childLocator)

@@ -1311,7 +1311,7 @@ public String toString() {

1311 1311

* @param parent used to check parent element. For example table with locator

1312 1312

* By.xpath("//table")

1313 1313

* @param childLocator used to find child element. For example td By.xpath("./tr/td")

1314 -

* @return subelement

1314 +

* @return sub-element

1315 1315

*/

1316 1316

public static ExpectedCondition<List<WebElement>> presenceOfNestedElementsLocatedBy(

1317 1317

final By parent, final By childLocator)

Original file line number Diff line number Diff line change

@@ -31,7 +31,7 @@ public void testGet() {

31 31

selenium.open("test_get.html");

32 32

// IE uppercases the property names of the style.

33 33

// Firefox lowercases the property names of the style.

34 -

// IE omits the trailing semi-colon.

34 +

// IE omits the trailing semicolon.

35 35

verifyTrue(Pattern.compile("(width|WIDTH): 644px; (height|HEIGHT): 41px(;?)")

36 36

.matcher(selenium.getAttribute("//img[@alt='banner']@style")).find());

37 37

// This asserts on the current behavior of selArrayToString(). Commas and

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4