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?

macでselenium serverを起動

Last updated at Posted at 2025-01-25

インストール

brew install selenium-server-standalone
brew install chromedriver

起動

/opt/homebrew/opt/selenium-server/bin/selenium-server standalone --port 4444

おまけ

Apple could not verify “chromedriver” is free of malware that may harm your Mac or compromise your privacy. とか出てきたら下記を実行しておけば出てこなくなる

xattr -d com.apple.quarantine `which chromedriver`

chromiumを使いたい場合

chromeとは独立させて利用したい場合、chromiumを導入します

brew install chromium --no-quarantine

同じ方法で起動すると、chromiumが参照されてました。よくわかりませんが動いたのでよs

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?