how to login to the alert window when we navigate to the browser through selenium

后端 未结 2 1648
天命终不由人
天命终不由人 2021-01-26 08:34

I have the url which needs credentials and I am navigating to that through selenium + Java https://username:password.example.com/

However it still shows the login window

2条回答
  •  清酒与你
    2021-01-26 08:59

    You are missing @ symbol after user name and password. You can try like below,

    https://username:password@test.discoverykidsplay.com/

提交回复
热议问题