0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Selenide(Kotlin)のProxyを使うとCannot access class 'com.browserup.bup.BrowserUpProxy'.

Posted at

はじめに

SelenideでProxyを使う際にエラーが出たので残します

問題

SelenideのProxyを使うために以下のサイトを参考に実装をしました

val bmp = WebDriverRunner.getSelenideProxy().proxy

しかしproxyの部分で以下のエラーが出ました

Cannot access class 'com.browserup.bup.BrowserUpProxy'. Check your module classpath for missing or conflicting dependencies

解決方法

以下のパッケージを追加したところドキュメント通りにできました

pom.xml
    <dependency>
      <groupId>com.codeborne</groupId>
      <artifactId>selenide-proxy</artifactId>
      <version>7.4.2</version>
    </dependency>

おわりに

Proxyという機能を知ったことで選択肢が増えたのでよかったです

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?