         navigator.openURL(testURL)
         waitUntilPageLoad()
         // Verify that the context menu prior to download a file is correct
-        app.webViews.staticTexts[testFileName].tap()
-        waitForExistence(app.webViews.buttons["Download"])
-        app.webViews.buttons["Download"].tap()
+        app.webViews.links["1 Mio file"].firstMatch.tap()
+
         waitForExistence(app.tables["Context Menu"])
         XCTAssertTrue(app.tables["Context Menu"].staticTexts[testFileName].exists)
         XCTAssertTrue(app.tables["Context Menu"].cells["download"].exists)

        navigator.openURL(testURL)
        waitUntilPageLoad()
        for _ in 0..<numberOfDownlowds {
            app.webViews.staticTexts[fileName].tap()
            waitForExistence(app.webViews.buttons["Download"])
            app.webViews.buttons["Download"].tap()
            waitForExistence(app.tables["Context Menu"])
            app.tables["Context Menu"].cells["download"].tap()
        }

import XCTest

let testFileName = "1Mio.dat"
let testFileSize = "1 MB"
let testURL = "http://www.ovh.net/files/"
let testBLOBURL = "http://bennadel.github.io/JavaScript-Demos/demos/href-download-text-blob/"
let testBLOBFileSize = "35 bytes"

