f4d77bf8ce
* TopLeveExceptionHandlerBindings * Fixed idle manager on exceptional path * null bindings check * Made TopLevelExceptionHandler injectable * Revit now works * Fixed Tests * returned unintentional change
18 lines
698 B
C#
18 lines
698 B
C#
namespace Speckle.Connectors.DUI.Bridge;
|
|
|
|
public interface IBrowserScriptExecutor
|
|
{
|
|
/// <exception cref="InvalidOperationException">thrown when <see cref="IsBrowserInitialized"/> is <see langword="false"/></exception>
|
|
/// <param name="script">The (constant string) script to execute on the browser</param>
|
|
public void ExecuteScriptAsyncMethod(string script);
|
|
|
|
public bool IsBrowserInitialized { get; }
|
|
|
|
public object BrowserElement { get; }
|
|
|
|
/// <summary>
|
|
/// Action that opens up the developer tools of the respective browser we're using. While webview2 allows for "right click, inspect", cefsharp does not - hence the need for this.
|
|
/// </summary>
|
|
public void ShowDevTools();
|
|
}
|