I am trying to click a web element if it is present and for that I am using the following code
Set btn = bot.FindElementById("F", Raise:=False)
If Not bot.FindElementById("F", Raise:=False) Is Nothing Then
bot.FindElementById("F").Click
Else
End If
but when I run the code I get the error
element not interact-able