Skip to content

Commit 215c501

Browse files
authored
compat(ACF): add options to WaitForNavigation
See #5
1 parent 77fee3e commit 215c501

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

models/PlaywrightMixins.cfm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@
189189
arguments.callback = function() {};
190190
}
191191
var runnable = createDynamicProxy( new Runnable( arguments.callback ), [ "java.lang.Runnable" ] );
192-
return arguments.page.waitForNavigation( runnable );
192+
var options = createObject( "java", "com.microsoft.playwright.Page$WaitForNavigationOptions" ).init();
193+
return arguments.page.waitForNavigation( options, runnable );
193194
}
194195
195196
public any function waitForLoadState( required any page ) {

0 commit comments

Comments
 (0)