ssh連線 在Python裡面控制selenium - Linux

By Hazel
at 2015-07-29T18:18
at 2015-07-29T18:18
Table of Contents
版上的高手大大好,
小弟最近要寫Python的登錄程式 用Python開啟selenium 然後輸入帳密後做一個
登錄的動作 在windows環境下 會開啟Firefox 輸入參數後然後再登錄
現在換到Linux環境想要進行相同的流程 得到了以下的錯誤訊息:
selenium.common.exceptions.ElementNotVisibleException:
Message: Element is not currently visible and so may not be interacted with
在網路上找到可能的解決方法
(http://stackoverflow.com/questions/7109840/cannot-start-browser-for-selenium-through-ssh)
但感覺不是很穩定 想請問版上高手是否可以直接在Python端修改程式碼解決此問題呢
也就是希望在用ssh連線時 實際開啟Firefox瀏覽器進行瀏覽的動作 進而觸發相關的
網頁功能
感謝
--
小弟最近要寫Python的登錄程式 用Python開啟selenium 然後輸入帳密後做一個
登錄的動作 在windows環境下 會開啟Firefox 輸入參數後然後再登錄
現在換到Linux環境想要進行相同的流程 得到了以下的錯誤訊息:
selenium.common.exceptions.ElementNotVisibleException:
Message: Element is not currently visible and so may not be interacted with
在網路上找到可能的解決方法
(http://stackoverflow.com/questions/7109840/cannot-start-browser-for-selenium-through-ssh)
但感覺不是很穩定 想請問版上高手是否可以直接在Python端修改程式碼解決此問題呢
也就是希望在用ssh連線時 實際開啟Firefox瀏覽器進行瀏覽的動作 進而觸發相關的
網頁功能
感謝
--
Tags:
Linux
All Comments

By Bennie
at 2015-07-31T00:12
at 2015-07-31T00:12

By Faithe
at 2015-08-01T15:16
at 2015-08-01T15:16

By Doris
at 2015-08-06T04:15
at 2015-08-06T04:15

By Zanna
at 2015-08-08T06:47
at 2015-08-08T06:47
Related Posts
-d "dir_path" return 值問題

By Jake
at 2015-07-28T21:43
at 2015-07-28T21:43
用 USB 安裝 linux 失敗

By Catherine
at 2015-07-28T11:54
at 2015-07-28T11:54
用 USB 安裝 linux 失敗

By Madame
at 2015-07-27T09:55
at 2015-07-27T09:55
參數能使用cut去切割嗎?

By Lauren
at 2015-07-26T19:50
at 2015-07-26T19:50
參數能使用cut去切割嗎?

By Harry
at 2015-07-26T19:42
at 2015-07-26T19:42