You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
' ==========================================================================' Alert operations' ==========================================================================' Get Alert Text '2021/6/20 add ishiPublicFunctionGetAlertText(OptionalByVal sessionId AsString = vbNullString) AsStringDim Data AsNew Dictionary
If sessionId <> vbNullString Then
Data.Add "sessionId", sessionId
End If
GetAlertText = Execute(CMD_W3C_GET_ALERT_TEXT, Data)
End Function' Accept Alert '2021/6/20 add ishiPublicFunctionAcceptAlert(OptionalByVal sessionId AsString = vbNullString)
Dim Data AsNew Dictionary
If sessionId <> vbNullString Then
Data.Add "sessionId", sessionId
End If
Execute CMD_W3C_ACCEPT_ALERT, Data
End Function' Dismiss Accept '2021/6/20 add ishiPublicFunctionDismissAccept(OptionalByVal sessionId AsString = vbNullString)
Dim Data AsNew Dictionary
If sessionId <> vbNullString Then
Data.Add "sessionId", sessionId
End If
Execute CMD_W3C_DISMISS_ALERT, Data
End Function
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Method. GetAlertText, AcceptAlert, DismissAccept
Add Method. GetAlertText, AcceptAlert, DismissAccept
Oct 23, 2021
TinySeleniumVBA WebDriver.cls
The text was updated successfully, but these errors were encountered: