問題タブ [connection-refused]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - Mono (C#) を使用した Raspberry Pi 上の Selenium
C#
セレンを使用してプログラムを作成しました。Windows で使用する場合は問題なく動作しますが、Rapsberry Pi では動作しません。[セレンの部分がなくても動作します]。
コードは次のとおりです。
ラズベリーパイで次のエラーが発生し続けます:
接続拒否
および: OpenQA.Selenium.WebDriverException: Unable to find the matching set of capabilities at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError (OpenQA.Selenium.Remote.Remote.Response errorResponse) [0x00000] in :0 at OpenQA.Selenium.Remote.RemoteWebDriver .Execute (System.String driverCommandToExecute, System.Collections.Generic.Dictionary`2 parameters) [0x00000] in :0 at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession (ICapabilities desiredCapabilities) [0x00000] in :0 at OpenQA.Selenium. Remote.RemoteWebDriver..ctor (ICommandExecutor commandExecutor, ICapabilities desiredCapabilities) [0x00000] in :0 at OpenQA.Selenium.Firefox.FirefoxDriver..ctor (OpenQA.Selenium.Firefox.FirefoxDriverService サービス、OpenQA.Selenium.Firefox.FirefoxOptions オプション、TimeSpan commandTimeout) [0x00000] in :0 at OpenQA.Selenium.Firefox.FirefoxDriver..ctor (OpenQA.Selenium.Firefox.FirefoxOptions オプション) [0x00000] in :0 at OpenQA.Selenium.Firefox.FirefoxDriver..ctor () [0x00000] in :0 at Dialga.MyBot+c__async8.MoveNext () [ 0x00000] in :0