forked from DevExpress/testcafe-hammerhead
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
06afd8a
commit a0b9341
Showing
5 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<script src="/hammerhead.js" class="script-hammerhead-shadow-ui"></script> | ||
<script type="text/javascript"> | ||
var hammerhead = window['%hammerhead%']; | ||
|
||
hammerhead.utils.destLocation.forceLocation('http://localhost/sessionId/https://example.com'); | ||
hammerhead.start({ sessionId: 'sessionId' }); | ||
</script> | ||
</head> | ||
<body> | ||
<script type="text/javascript"> | ||
var base = document.createElement('base'); | ||
var script = document.createElement('script'); | ||
|
||
base.href = 'https://example.com/testpassed/'; | ||
script.src = './script-url.js'; | ||
|
||
document.head.appendChild(base); | ||
document.body.appendChild(script); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters