Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

hyper-spec throws uninitialized constant Selenium::WebDriver::Firefox::Service

未關閉
#355 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
rails, ruby
領域
testing-qa

研究方向

首先,在 Rails 主控台中重現 hyper-spec 升級失敗,並檢查 Selenium Firefox 參照是如何載入的。將其行為與提到的 Webdrivers::Geckodriver.update workaround 進行比較;當不需要手動執行該更新時,回報的「uninitialized constant」錯誤不再出現,即視為完成。

由索引模型根據 Issue 內容生成。

描述

needs doc

When upgrading to hyper-spec i get a strange

uninitialized constant Selenium::WebDriver::Firefox::Service

although i don't user Selenium::WebDriver::Firefox::Service anywhere in my code (only references to Selenium::WebDriver::Firefox)

A solution i have found and according to https://github.com/titusfortner/webdrivers

Is to try and execute:

Webdrivers::Geckodriver.update

in rails console.

This updates the local Geckodriver automatically

as @catmando noted, if hyper-spec is both in test and development environment 'rails c' might be unusable so remove it temporarilly from the dev env

主要語言
JavaScript
星號
538
分支
41
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

hyperstack-org/hyperstack 的其他 Issue

查看 hyperstack-org/hyperstack 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。