Skip to content

Commit 7ad6555

Browse files
authored
Merge branch 'trunk' into mfest
2 parents 8105e74 + 61a1eb1 commit 7ad6555

File tree

11 files changed

+70
-45
lines changed

11 files changed

+70
-45
lines changed

dotnet/docs/api/index.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

dotnet/docs/docfx.json

Lines changed: 33 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,40 @@
33
{
44
"src": [
55
{
6+
"src": "../src/webdriver",
67
"files": [
7-
"src/webdriver/WebDriver.csproj",
8-
"src/support/WebDriver.Support.csproj",
9-
"bin/**/*.dll"
10-
],
11-
"src": "../"
8+
"**/*.csproj"
9+
]
1210
}
1311
],
14-
"dest": "api",
15-
"includePrivateMembers": false,
16-
"disableGitFeatures": false,
17-
"disableDefaultFilter": false,
18-
"noRestore": false,
19-
"namespaceLayout": "flattened",
20-
"memberLayout": "samePage",
21-
"allowCompilationErrors": false
12+
"dest": "webdriver",
13+
"namespaceLayout": "nested",
14+
"outputFormat": "apiPage"
15+
},
16+
{
17+
"src": [
18+
{
19+
"src": "../src/support",
20+
"files": [
21+
"**/*.csproj"
22+
]
23+
}
24+
],
25+
"dest": "support",
26+
"namespaceLayout": "nested",
27+
"outputFormat": "apiPage"
2228
}
29+
2330
],
2431
"build": {
2532
"content": [
2633
{
27-
"files": "**/*.{md|yml}",
28-
"src": "api"
34+
"files": [
35+
"**/*.{md,yml}"
36+
],
37+
"exclude": [
38+
"_site/**"
39+
]
2940
}
3041
],
3142
"resource": [
@@ -35,15 +46,16 @@
3546
]
3647
}
3748
],
38-
"dest": "../../build/docs/api/dotnet",
39-
"globalMetadataFiles": [],
40-
"fileMetadataFiles": [],
49+
"output": "../../build/docs/api/dotnet",
4150
"template": [
4251
"default",
4352
"modern"
4453
],
45-
"postProcessors": [],
46-
"keepFileLink": false,
47-
"disableGitFeatures": false
54+
"globalMetadata": {
55+
"_appName": "Selenium .NET API",
56+
"_appLogoPath": "images/logo.svg",
57+
"_appFaviconPath": "images/favicon.ico",
58+
"_enableSearch": true
59+
}
4860
}
4961
}

dotnet/docs/images/favicon.ico

8.96 KB
Binary file not shown.

dotnet/docs/images/logo.svg

Lines changed: 1 addition & 0 deletions
Loading

dotnet/docs/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: landingPage
3+
---
4+
5+
# Welcome to the Selenium .NET API Docs
6+
7+
## Modules
8+
- [Selenium.WebDriver](/webdriver/OpenQA.Selenium.html)
9+
- [Selenium.Support](/support/OpenQA.Selenium.Support.html)
File renamed without changes.

dotnet/docs/toc.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
- name: Intro
2+
href: index.md
3+
4+
- name: Modules
5+
items:
6+
- name: WebDriver
7+
href: webdriver/OpenQA.Selenium.yml
8+
- name: Support
9+
href: support/OpenQA.Selenium.Support.yml

dotnet/docs/webdriver/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
###############
2+
# temp file #
3+
###############
4+
*.yml
5+
.manifest

java/src/org/openqa/selenium/grid/config/TomlConfig.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,15 @@
3131
import java.util.List;
3232
import java.util.Optional;
3333
import java.util.Set;
34-
import java.util.logging.Logger;
3534
import org.openqa.selenium.internal.Require;
3635

3736
public class TomlConfig implements Config {
3837

3938
private final Toml toml;
40-
private static final Logger LOG = Logger.getLogger(TomlConfig.class.getName());
4139

4240
public TomlConfig(Reader reader) {
4341
try {
4442
toml = JToml.parse(reader);
45-
LOG.warning(
46-
"Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted"
47-
+ " strings will throw an error in the future");
4843
} catch (IOException e) {
4944
throw new ConfigException("Unable to read TOML.", e);
5045
} catch (ParseException e) {

javascript/node/selenium-webdriver/bidi/browsingContext.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,10 +528,15 @@ class BrowsingContext {
528528
throw Error(`Pass in an array of ReferenceValue objects. Received: ${startNodes}`)
529529
}
530530

531+
let startNodesSerialized = undefined
532+
531533
if (startNodes !== undefined && Array.isArray(startNodes)) {
534+
startNodesSerialized = []
532535
startNodes.forEach((node) => {
533536
if (!(node instanceof ReferenceValue)) {
534537
throw Error(`Pass in a ReferenceValue object. Received: ${node}`)
538+
} else {
539+
startNodesSerialized.push(node.asMap())
535540
}
536541
})
537542
}
@@ -544,7 +549,7 @@ class BrowsingContext {
544549
maxNodeCount: maxNodeCount,
545550
sandbox: sandbox,
546551
serializationOptions: serializationOptions,
547-
startNodes: startNodes,
552+
startNodes: startNodesSerialized,
548553
},
549554
}
550555

0 commit comments

Comments
 (0)