giorgiosironi / phpunit-selenium

Selenium RC integration for PHPUnit
http://www.phpunit.de/
Other
602 stars 271 forks source link

Basic Auth #383

Closed muhamed-didovic closed 8 years ago

muhamed-didovic commented 8 years ago

Anyone familiar with Basic Auth and how can I send username and password with selenium?

giorgiosironi commented 8 years ago

I would try the second solution here, modifying the URL to include username and password. It's the most portable: http://stackoverflow.com/questions/24304752/how-to-handle-authentication-popup-with-selenium-webdriver-using-java

muhamed-didovic commented 8 years ago

Hi, thanks for quick reply.

So the situation is that inside HTML I have videos from third party(different domain), which require Basic Auth. Any ideas how to write inside that alert username and password?