public void GetImagesTest() { Page1 page1 = new Page1(); string[] images = page1.GetImages(); string[] expected = new string[] { "https://www.w3schools.com/css/img_lights.jpg", "https://www.w3schools.com/css/img_forest.jpg", "https://www.w3schools.com/css/img_5terre.jpg", "https://www.w3schools.com/css/img_mountains.jpg", }; Assert.AreEqual(images.ToString(), expected.ToString()); }