http://elementalselenium.com/tips/13-work-with-basic-auth
に書いてあった。
@driver.get 'http://admin:admin@the-internet.herokuapp.com/basic_auth'
の様にドメインの前に[ID]:[Password]@をつければいい。
More than 5 years have passed since last update.
http://elementalselenium.com/tips/13-work-with-basic-auth
に書いてあった。
@driver.get 'http://admin:admin@the-internet.herokuapp.com/basic_auth'
の様にドメインの前に[ID]:[Password]@をつければいい。
Register as a new user and use Qiita more conveniently