Skip to content
Permalink
Browse files
Web Driver: Expose new isPendingTermination property on `_WKAutomat…
…ionSession`

https://bugs.webkit.org/show_bug.cgi?id=240669
rdar://93367943

Reviewed by Devin Rousso.

* Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSession.h:
* Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSession.mm:
(-[_WKAutomationSession isPendingTermination]):

Canonical link: https://commits.webkit.org/250875@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
patrickangle committed May 23, 2022
1 parent 0f9af8a commit a5b624b3af835d6179c5958f49b86c3bd737b502
Showing 2 changed files with 6 additions and 0 deletions.
@@ -40,6 +40,7 @@ WK_CLASS_AVAILABLE(macos(10.12), ios(10.0))

@property (nonatomic, weak) id <_WKAutomationSessionDelegate> delegate;
@property (nonatomic, readonly, getter=isPaired) BOOL paired;
@property (nonatomic, readonly, getter=isPendingTermination) BOOL pendingTermination WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA));

@property (nonatomic, readonly, getter=isSimulatingUserInteraction) BOOL simulatingUserInteraction WK_API_AVAILABLE(macos(10.13.4), ios(11.3));

@@ -99,6 +99,11 @@ - (BOOL)isPaired
return _session->isPaired();
}

- (BOOL)isPendingTermination
{
return _session->isPendingTermination();
}

- (BOOL)isSimulatingUserInteraction
{
return _session->isSimulatingUserInteraction();

0 comments on commit a5b624b

Please sign in to comment.