-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Added se-config.toml Example to Selenium Manager #1991
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
Added se-config.toml Example to Selenium Manager #1991
Conversation
👷 Deploy request for selenium-dev pending review.Visit the deploys page to approve it
|
PR Reviewer Guide 🔍
Here are some key observations to aid the review process:
Configuration Clarity
The example configuration file includes both command-line flags and their corresponding TOML keys. This might be confusing for users. Consider removing the command-line flag comments or clearly separating them from the TOML keys.
Missing Explanation
The newly added se-config.toml example lacks an explanation or context. Consider adding a brief description of how to use this configuration file and its purpose.
PR Code Suggestions ✨Explore these optional code suggestions:
|
@VietND96 Fails are due to flaky tests:
(macos, stable)
FAILED tests/browsers/test_safari.py::test_basic_options - TypeError: init() missing 1 required positional argument: 'remote_server_addr'
FAILED tests/browsers/test_safari.py::test_enable_logging - TypeError: init() missing 1 required positional argument: 'remote_server_addr'
and (macos, nightly)
FAILED tests/drivers/test_options.py::test_timeouts_page_load - selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: -0.050
(Session info: chrome=130.0.6723.92)
Stacktrace:
0 chromedriver 0x000000010074b648 cxxbridge1$str$ptr + 3645404
1 chromedriver 0x0000000100743ea8 cxxbridge1$str$ptr + 3614780
2 chromedriver 0x00000001001b0104 cxxbridge1$string$len + 88416
3 chromedriver 0x000000010019b704 cxxbridge1$string$len + 3936
4 chromedriver 0x000000010019b48c cxxbridge1$string$len + 3304
5 chromedriver 0x000000010019983c core::str::slice_error_fail::h1cab30ac4b13c655 + 60316
6 chromedriver 0x0000000100199f04 core::str::slice_error_fail::h1cab30ac4b13c655 + 62052
7 chromedriver 0x00000001001a779c cxxbridge1$string$len + 53240
8 chromedriver 0x00000001001ba600 cxxbridge1$string$len + 130652
9 chromedriver 0x000000010019a508 core::str::slice_error_fail::h1cab30ac4b13c655 + 63592
10 chromedriver 0x00000001001ba498 cxxbridge1$string$len + 130292
11 chromedriver 0x000000010022bb10 cxxbridge1$string$len + 594796
12 chromedriver 0x00000001001e6f54 cxxbridge1$string$len + 313264
13 chromedriver 0x00000001001e7ba4 cxxbridge1$string$len + 316416
14 chromedriver 0x00000001007161e8 cxxbridge1$str$ptr + 3427196
15 chromedriver 0x000000010071952c cxxbridge1$str$ptr + 3440320
16 chromedriver 0x00000001006fd60c cxxbridge1$str$ptr + 3325856
17 chromedriver 0x0000000100719df0 cxxbridge1$str$ptr + 3442564
18 chromedriver 0x00000001006ee890 cxxbridge1$str$ptr + 3265060
19 chromedriver 0x0000000100734898 cxxbridge1$str$ptr + 3551788
20 chromedriver 0x0000000100734a14 cxxbridge1$str$ptr + 3552168
21 chromedriver 0x0000000100743b40 cxxbridge1$str$ptr + 3613908
22 libsystem_pthread.dylib 0x0000000183e55f94 _pthread_start + 136
23 libsystem_pthread.dylib 0x0000000183e50d34 thread_start + 8
I am thinking that beside the TOML config with explanation, should we add another example TOML so that user can get started quickly in their trial?
What do you think @harsha1502 @diemol ?
@A1exKH
A1exKH
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shbenzer Code LGTM.
Please fix failed checks.
I am thinking that beside the TOML config with explanation, should we add another example TOML so that user can get started quickly in their trial? What do you think @harsha1502 @diemol ?
Hi @VietND96,
Yes, It would be great if we could provide code samples or boilerplate code to help users get started more easily.
I also think that the page Selenium Manager Documentation is quite extensive and could benefit from being split into multiple sections. We can consider adding a dedicated "Getting Started" section to make it easier for users to navigate and find essential information.
Let me know what you think!
@shbenzer Code LGTM. Please fix failed checks.
contributed code is only a .toml and documentation.
I agreed to split it into multiple sections. So we will merge this first and improve later.
Thank you, @shbenzer !
[deploy site] Co-authored-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com> Co-authored-by: Sri Harsha <12621691+harsha509@users.noreply.github.com> a3018fd
Uh oh!
There was an error while loading. Please reload this page.
User description
Added se-config.toml example to Documentation.
Description
created example_se-config.toml
added example to all translations of Selenium Manager
Motivation and Context
Extends Issue #1496 , will now add what language bindings are available as well.
Types of changes
Checklist
PR Type
Documentation
Description
se-config.tomlfile for Selenium Manager with various configuration options.se-config.tomlexample.Changes walkthrough 📝
example_se-config.toml
Add example `se-config.toml` for Selenium Managerexamples/python/tests/selenium_manager/example_se-config.toml
selenium_manager.en.md
Add `se-config.toml` example to English documentationwebsite_and_docs/content/documentation/selenium_manager.en.md
se-config.tomlexample.selenium_manager.ja.md
Add `se-config.toml` example to Japanese documentationwebsite_and_docs/content/documentation/selenium_manager.ja.md
se-config.tomlexample.selenium_manager.pt-br.md
Add `se-config.toml` example to Portuguese documentationwebsite_and_docs/content/documentation/selenium_manager.pt-br.md
se-config.tomlexample.selenium_manager.zh-cn.md
Add `se-config.toml` example to Chinese documentationwebsite_and_docs/content/documentation/selenium_manager.zh-cn.md
se-config.tomlexample.