Improved Selenium site links test stability

Change-Id: I3582761f03dc1e8091b0250c0e624d2723aefff3