Interface CanExecuteFlutterScripts

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.lang.Object executeFlutterCommand​(java.lang.String scriptName, FlutterCommandParameter parameter)
      Executes a Flutter-specific script using JavascriptExecutor.
      default java.lang.Object executeFlutterCommand​(java.lang.String scriptName, java.util.Map<java.lang.String,​java.lang.Object> args)
      Executes a Flutter-specific script using JavascriptExecutor.
      • Methods inherited from interface org.openqa.selenium.JavascriptExecutor

        executeAsyncScript, executeScript, executeScript, getPinnedScripts, pin, unpin
    • Method Detail

      • executeFlutterCommand

        default java.lang.Object executeFlutterCommand​(java.lang.String scriptName,
                                                       FlutterCommandParameter parameter)
        Executes a Flutter-specific script using JavascriptExecutor.
        Parameters:
        scriptName - The name of the Flutter script to execute.
        parameter - The parameters for the Flutter command.
        Returns:
        The result of executing the script.
      • executeFlutterCommand

        default java.lang.Object executeFlutterCommand​(java.lang.String scriptName,
                                                       java.util.Map<java.lang.String,​java.lang.Object> args)
        Executes a Flutter-specific script using JavascriptExecutor.
        Parameters:
        scriptName - The name of the Flutter script to execute.
        args - The args for the Flutter command in Map format.
        Returns:
        The result of executing the script.