差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
rf:rf:launch_ff_problem_on_win [2015/11/25 21:39] tony |
rf:rf:launch_ff_problem_on_win [2023/06/25 09:48] (目前版本) |
||
---|---|---|---|
行 2: | 行 2: | ||
====== Jython+Selenium2Library無法在Windows上啟動Firefox ====== | ====== Jython+Selenium2Library無法在Windows上啟動Firefox ====== | ||
===== Problem ===== | ===== Problem ===== | ||
- | 這陣子開始著手於升級Selenium2,我們的環境是透過Java啟動RobotFramework,在Runtime時去編譯Selenium與Selenium2Library。這樣的模式在Linux上,可以正常的跑完測試用的測試案例;然而在Windows上卻會出現如下圖錯誤:\\ | + | 這陣子開始著手於升級Selenium2,我們的環境是透過Java啟動RobotFramework(2.9),在Runtime時去編譯Selenium與Selenium2Library。這樣的模式在Linux上,可以正常的跑完測試用的測試案例;然而在Windows上卻會出現如下圖錯誤:\\ |
{{:rf:rf:cant_open_firefox_windows.png?600|}} | {{:rf:rf:cant_open_firefox_windows.png?600|}} | ||
===== How to? ===== | ===== How to? ===== | ||
行 50: | 行 50: | ||
友藏內心獨白: 有沒有無痛升級祕方阿? | 友藏內心獨白: 有沒有無痛升級祕方阿? | ||
+ | ===== Others ===== | ||
+ | * 2015-11-26 如果Firefox非安裝在預設路徑,也可能有問題,可以參考[[rf:rf:usecustomizedfirefox|這篇]] | ||
+ | |||
===== Reference ===== | ===== Reference ===== | ||
* [[https://github.com/pypa/pip/issues/3165|chflags的issue]] | * [[https://github.com/pypa/pip/issues/3165|chflags的issue]] |