LoginSignup
1
0

More than 5 years have passed since last update.

(メモ) Basic 認証付きのページに、selenium をつかって、IEでアクセスする。

Last updated at Posted at 2017-03-30

とりあえず、メモです。つっこみどころ満載なので、コメント歓迎です。

selenium で、IE (10〜11)をつかって、Basic 認証を突破しようとすると、レジストリを変更する必要あり。
ここを参考

64bit の場合(windows7)

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE
を開けて、DWORD を新規で追加する。
キーの名前は、この2つで、値は、0
iexplore.exe
explorer.exe

うまくいきました。

1
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
1
0