English 中文(简体)
Webdriveraban
原标题:Webdriver stopped opening Firefox

因此,使用etaoin,在衣物中做一些网络上手铐。 它对一名雇员的罚款。 然而,我的方案正突破第7行:

(ns socialauto.core) (require [etaoin.api :as e]) (require [etaoin.keys :as k])

(要求[社会-auto.scraper :作为报废者])

(f) 司机(e/firefox)

When it goes to define the firefox driver (f) 司机(e/firefox), it just blows up. It gives me this error:

#error { :cause throw+: {:response {:value {:error "unknown error", :message "Process unexpectedly closed with status signal", :stacktrace ""}}, :path "session", :payload {:desiredCapabilities {:loggingPrefs {:browser "ALL"}}}, :method :post, :type :etaoin/http-error, :port 64044, :host "127.0.0.1", :status 500, :webdriver-url nil, :driver {:type :firefox, :host "127.0.0.1", :port 64044, :url "http://127.0.0.1:64044", :locator "xpath", :capabilities {:loggingPrefs {:browser "ALL"}}, :args ("geckodriver" "--port" 64044), :process {:proc #object[java.lang.ProcessImpl 0x321bf4b1 "Process[pid=9879, exitValue="not exited"]"], :exit nil, :in #object[java.lang.ProcessImpl$ProcessPipeOutputStream 0x598f6c93 "java.lang.ProcessImpl$ProcessPipeOutputStream@598f6c93"], :out #object[java.lang.ProcessBuilder$NullInputStream 0x65630116 "java.lang.ProcessBuilder$NullInputStream@65630116"], :err #object[java.lang.ProcessBuilder$NullInputStream 0x65630116 "java.lang.ProcessBuilder$NullInputStream@65630116"], :prev nil, :cmd ["geckodriver" "--port" "64044"]}}}

This began happening one morning when I went to run the program. It had been running fine the day before.

我已经停下来,Geckodriver和Adre。 这并没有固定下来。 我期待它成为某种版本的问题,并且认为,如果没有我所知,它已经更新。

问题回答

因此,我对存在这一问题的其他人说了什么。

我不得不改动。

(f) 司机(e/firefox)

纽约总部

(def driver (e/firefox {:path-driver "/opt/homebrew/bin/geckodriver" :path-browser "/opt/homebrew/bin/firefox"}))

我猜测这一问题来自etaoin,没有找到浏览器或驾驶员,因此我可以走两条道路。

For anyone else who has this issue: run where geckodriver and where firefox and set the outputs of those as values 纽约总部 the keys :path-driver and :path-browser.





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

jQuery block moving

I wanna move a div block to the top, so I coded like this: CSS part: .movingPart{ margin-top:80px; } jQuery part: $(document).ready(function() { $( #btn ).click(function() { $( .movingPart )....

Private FireFox plugin

I m looking at getting a FireFox plugin developed - but is it possible to create a plugin that is for private use only, so only those I share it with have it and not open to the masses? Need this for ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Cross-browser development

I m developing a web application for a new service, starting from Firefox 3.5. The interface design is tableless, only using divs + CSS & performance-blessed practices. Now, while being ...

Cross browser way of setting IFrame to "about:blank"?

Does anybody know a proper, cross-browser way to "empty" an IFrame? Is "about:blank" recognized without error across all browsers? Is it valid to give an IFrame an empty src?

热门标签