Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛 Bug]: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future #15127

Closed
abhi-iac opened this issue Jan 21, 2025 · 6 comments

Comments

@abhi-iac
Copy link

What happened?

This is not a bug report but rather I am getting this warning message "Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future"

I have this TOML file not sure if I am missing anything? Could you please review the toml file and confirm if I am missing any string?

How can we reproduce the issue?

[node]
detect-drivers = false

[[node.driver-configuration]]
display-name = "chrome"
stereotype = '{"browserName": "chrome", "platformName": "Windows XP", "myApp:env": "xxx", "myApp:team": "ee"}'
max-sessions = 8

[[node.driver-configuration]]
display-name = "firefox"
stereotype = '{"browserName": "firefox", "platformName": "Windows XP", "myApp:env": "xx", "myApp:team": "ee"}'
max-sessions = 8

[[node.driver-configuration]]
display-name = "MicrosoftEdge"
stereotype = '{"browserName": "MicrosoftEdge", "platformName": "Windows XP", "myApp:env": "xx", "myApp:team": "ee"}'
max-sessions = 8

Relevant log output

Dec 17, 2024 5:02:01 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Dec 18, 2024 12:14:42 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Dec 19, 2024 12:14:37 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Dec 20, 2024 12:14:36 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Dec 21, 2024 12:14:49 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Dec 23, 2024 12:14:39 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Dec 24, 2024 12:14:39 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Dec 25, 2024 12:14:28 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Dec 26, 2024 12:14:32 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Dec 27, 2024 12:14:31 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Dec 28, 2024 12:14:44 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Dec 30, 2024 12:14:53 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Dec 31, 2024 12:14:33 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 01, 2025 12:14:38 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 02, 2025 12:14:28 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 03, 2025 12:14:28 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 04, 2025 12:14:36 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 06, 2025 12:14:31 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 07, 2025 12:14:31 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 08, 2025 12:14:58 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 08, 2025 11:51:46 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 09, 2025 12:14:38 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 10, 2025 12:15:28 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 11, 2025 12:14:33 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 13, 2025 12:14:52 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 14, 2025 12:14:39 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 15, 2025 12:14:35 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 15, 2025 8:43:47 PM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 16, 2025 12:14:43 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 17, 2025 12:14:58 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 18, 2025 12:14:50 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 20, 2025 12:14:42 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future
Jan 21, 2025 12:14:35 AM org.openqa.selenium.grid.config.TomlConfig <init>
WARNING: Please use quotes to denote strings. Upcoming TOML parser will require this and unquoted strings will throw an error in the future

Operating System

Windows 10

Selenium version

Java

What are the browser(s) and version(s) where you see this issue?

Chrome 132

What are the browser driver(s) and version(s) where you see this issue?

ChromeDriver 132

Are you using Selenium Grid?

4.26.0

@abhi-iac
Copy link
Author

Adding my previous bug for reference #14576

Copy link

@abhi-iac, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@Delta456
Copy link
Contributor

Can you update to the latest Selenium version?

@abhi-iac
Copy link
Author

I can do it but wondering why is the warning?? Can you confirm my TOML is accurate as part Selenium standards?

@Delta456
Copy link
Contributor

This warning was there to comply with the TOML standards and spec. Yes, your TOML is accurate as part of Selenium standards.

@abhi-iac
Copy link
Author

Great, thanks for confirming. I will leave the TOML file as it is and upgrade the grid to 4.28.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants