-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Added Ruby Example to Selenium Manager #1969
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 Ruby Example to Selenium Manager #1969
Conversation
👷 Deploy request for selenium-dev pending review.Visit the deploys page to approve it
|
PR Reviewer Guide 🔍
Error Handling
The example code lacks error handling and resource management. Consider adding begin/ensure blocks to properly close the driver even if an exception occurs.
Consistency
The Ruby example uses different formatting ("Previously" and "Selenium Manager") compared to other language examples. Consider standardizing the format across all language examples.
PR Code Suggestions ✨
|
Failures unrelated:
Failures:
1) Keys copy and paste FIXED
Expected pending 'Test guarded; Guarded by {browser: :chrome, reason: "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4264"};' to fail. No error was raised.
# ./spec/actions_api/keys_spec.rb:60
Finished in 6 minutes 1 second (files took 8.88 seconds to load)
185 examples, 1 failure, 40 pending
Failed examples:
rspec ./spec/actions_api/keys_spec.rb:60 # Keys copy and paste
Uh oh!
There was an error while loading. Please reload this page.
User description
Added Ruby example to Selenium Manager docs
Description
created usage.rb
added examples from usage.rb to all selenium manager index.mds
Motivation and Context
make site more comprehensive
Types of changes
Checklist
PR Type
documentation, enhancement
Description
Changes walkthrough 📝
usage.rb
Add Ruby example script for Selenium Manager usageexamples/ruby/spec/selenium_manager/usage.rb
Manager.
selenium_manager.en.md
Update English documentation with Ruby exampleswebsite_and_docs/content/documentation/selenium_manager.en.md
selenium_manager.ja.md
Update Japanese documentation with Ruby exampleswebsite_and_docs/content/documentation/selenium_manager.ja.md
selenium_manager.pt-br.md
Update Portuguese documentation with Ruby exampleswebsite_and_docs/content/documentation/selenium_manager.pt-br.md
selenium_manager.zh-cn.md
Update Chinese documentation with Ruby exampleswebsite_and_docs/content/documentation/selenium_manager.zh-cn.md