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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃悰 Bug]: `spawn': no implicit conversion of nil into String (TypeError) #11815
Comments
@pgundlupetvenkatesh, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
Can you add this before your code and provide the stdout: |
@titusfortner I'm getting this in Github Actions at: https://github.com/shakacode/react_on_rails/actions/runs/4521103178/jobs/7962660421?pr=1533#step:20:157 Looks like the error is that *@command is The odd thing is that I can't reproduce this locally on my intel mac (Ventura 13.2.1). Please let me know if there's any more information I can provide to expedite this. |
So Windows & Linux, but not Mac. 馃槮 Still need to figure out what is going on.
So it is
So somehow the Webdrivers gem works by managing the driver location and setting it in on the browser class with Oh, I see exactly what's going on. I added a deprecation, but didn't handle setting the Service Path. So Ok. I can fix. |
Thanks for reporting this. Here are the options:
Please let me know if you try option 4 and it doesn't work. Edit: My initial fix missed something so tonight's nightly gem won't work. |
4.8.2 introduced a bug SeleniumHQ/selenium#11815 Let's stay below until it's fixed.
Just tried to install from the link you mentioned in option 4 and I got below error.
I couldn't install it from the Gemfile as my workplace security layers blocked it when it prompted for Github's username and password. Option 1, tried removing webdrivers dependency gem from my project but that didn't work too... was getting the same original selenium-webdriver error. Option 2, I have been using |
Ah yeah you'd also need to remove drivers from PATH in addition to removing webdrivers gem. I'll take a look the Watir code soon. I thought I'd already updated it, but apparently not. For now, stick to Selenium 4.8.1 |
Updated selenium-weddriver to v4.8.6 and it works fine now. Thank you. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What happened?
Throws
no implicit conversion of nil into String (TypeError)
error when trying to launch a browser.Gem versions -
Watir v7.1.0
webdriver v5.2.0
How can we reproduce the issue?
require 'watir' Watir::Browser.new(:edge)
Happens for Chrome too. Type
:chrome
to use.Operating System
Windows 10 Enterprise
Selenium version
selenium-webdriver v4.8.2, Ruby 3.2.1 (2023-02-08 revision 31819e82c8) [x64-mingw-ucrt]
What are the browser(s) and version(s) where you see this issue?
Edge v111.0.1661.51, Chrome v111.0.5563.65
What are the browser driver(s) and version(s) where you see this issue?
chromedriver v111.0.5563.64, msedgedriver v111.0.1661.51
Are you using Selenium Grid?
No
The text was updated successfully, but these errors were encountered: