automatictester

my thoughts on test automation

Switching from Safari 6 to 7 and phishing site warnings

WebDriver users: always be careful when upgrading browser version which you use in your automated tests. When I was researching upgrade from Safari 6 to 7, I came across something that I didn’t even think of: HTTP basic authentication credentials included in application URL caused Safari 7 to display a phishing warning, which wasn’t displayed by Safari 6.

safari_phishing

This caused all the tests to fail, and there was no simple workaround, as SafariDriver doesn’t support handling browser pop ups. If you have same problem, double-check if you really need to store HTTP authentication credentials in your application URL – perhaps they can be safely removed.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: