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
' ==========================================================================' Frame operations' ==========================================================================' Switch to Frame '2021/6/17 add ishiPublicFunctionSwitchToFrame(ElementId AsString, _OptionalByVal sessionid AsString = vbNullString)
Dim data AsNew Dictionary
Dim subdata AsNew Dictionary
subdata.Add "ELEMENT", ElementId
subdata.Add ELEMENT_KEY, ElementId
If sessionid <> vbNullString Then
subdata.Add "sessionId", sessionid
End If
data.Add "id", subdata
Execute CMD_SWITCH_TO_FRAME, data
End Function' Switch to Parent Frame '2021/6/17 add ishiPublicFunctionSwitchToParentFrame(OptionalByVal sessionid AsString = vbNullString)
Dim data AsNew Dictionary
If sessionid <> vbNullString Then
data.Add "sessionId", sessionid
End If
Execute CMD_SWITCH_TO_PARENT_FRAME, data
End Function' Get Current Frame '2021/7/9 add ishiPublicFunctionGetCurrentFrame(OptionalByVal sessionid AsString = vbNullString) AsStringDim data AsNew Dictionary
data.Add "script", "return self.name"Dim args AsVariant
args = Array()
data.Add "args", args
If sessionid <> vbNullString Then
data.Add "sessionId", sessionid
End If
GetCurrentFrame = Execute(CMD_W3C_EXECUTE_SCRIPT, data)
End Function
TinySeleniumVBA WebElement.cls
' ==========================================================================' Frame operations' ==========================================================================' Switch to Frame '2021/6/22 add ishiPublicFunctionSwitchToFrame()
Driver_.SwitchToFrame ElementId_, SessionId_End Function
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Method. SwitchToFrame, SwitchToParentFrame, GetCurrentFrame
Method. SwitchToFrame, SwitchToParentFrame, GetCurrentFrame
Sep 16, 2021
ghost
changed the title
Method. SwitchToFrame, SwitchToParentFrame, GetCurrentFrame
Add Method. SwitchToFrame, SwitchToParentFrame, GetCurrentFrame
Oct 23, 2021
TinySeleniumVBA WebDriver.cls
TinySeleniumVBA WebElement.cls
The text was updated successfully, but these errors were encountered: