Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 9acf451

Browse files
committed
fix(scenarioRunner): navigateTo should use prop('contentWindow')
... instead of attr('contentWindow')
1 parent 6883e8c commit 9acf451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scenario/Application.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ angular.scenario.Application.prototype.getFrame_ = function() {
3333
* @return {Object} the window of the frame
3434
*/
3535
angular.scenario.Application.prototype.getWindow_ = function() {
36-
var contentWindow = this.getFrame_().attr('contentWindow');
36+
var contentWindow = this.getFrame_().prop('contentWindow');
3737
if (!contentWindow)
3838
throw 'Frame window is not accessible.';
3939
return contentWindow;

0 commit comments

Comments
 (0)