You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a workaround - I have provided my own copy of that function (and everything started to work), but it would be nice to fix it.
Or is there some other way now to use profiles for Firefox in selenium?
Ruby30/lib/ruby/gems/3.0.0/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/firefox/profiles_ini.rb:26:in `initialize': uninitialized constant Selenium::WebDriver::Firefox::ProfilesIni::Util (NameError) from Ruby30/lib/ruby/gems/3.0.0/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/firefox/profile.rb:41:in `new' from Ruby30/lib/ruby/gems/3.0.0/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/firefox/profile.rb:41:in `ini' from Ruby30/lib/ruby/gems/3.0.0/gems/selenium-webdriver-4.1.0/lib/selenium/webdriver/firefox/profile.rb:45:in `from_name'
Operating System
Windows 10
Selenium version
ruby, selenium-webdriver 4.1.0
What are the browser(s) and version(s) where you see this issue?
Firefox 95
What are the browser driver(s) and version(s) where you see this issue?
GeckoDriver 0.30.0
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered:
@mingulov, 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, 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.
What happened?
ruby, selenium-webdriver 4.1.0 (most probably since 3.150.0)
The next line fails due to missing Util / Util.app_data_path:
Selenium::WebDriver::Firefox::Profile.from_name("profile_name")
Util.app_data_path is used twice in lib/selenium/webdriver/firefox/profiles_ini.rb, but it is removed more than 2 years ago:
32262cc
As a workaround - I have provided my own copy of that function (and everything started to work), but it would be nice to fix it.
Or is there some other way now to use profiles for Firefox in selenium?
How can we reproduce the issue?
Relevant log output
Operating System
Windows 10
Selenium version
ruby, selenium-webdriver 4.1.0
What are the browser(s) and version(s) where you see this issue?
Firefox 95
What are the browser driver(s) and version(s) where you see this issue?
GeckoDriver 0.30.0
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered: