summaryrefslogtreecommitdiff
path: root/tests/test_tools/selenium/core/scripts/injection_iframe.html
blob: bc26e859101ae0d5542a48ac6825f9b8412977c7 (plain)
1
2
3
4
5
6
7
<script language="JavaScript">
    // Ideally I would avoid polluting the namespace by enclosing this snippet with
    // curly braces, but I want to make it easy to look at what URL I used for anyone
    // who is interested in looking into http://jira.openqa.org/browse/SRC-101:
    var _sel_url_ = "http://" + location.host + "/selenium-server/core/scripts/injection.html";
    document.write('<iframe name="selenium" width=0 height=0 id="selenium" src="' + _sel_url_ + '"></iframe>');
</script>