Search code examples
seleniumbasic-authentication

How to handle authentication popup when password contains '#'


I want to handle authentication popup by passing username and password in url. Since password contains '#', I am not able to do it. Is there any way to do it?

I have handled it using autoit but I wanted to handle it using above method.


Solution

  • sending a password via url seems like a bad idea, but if you must, urlencode it. (Replace it with %23).