'Fill form but the form is inactive selenium vba

I am trying to fill a form on a webpage and here's my attempt

Sub Test()
    Dim sFileNo As String, m As Long, r As Long
    m = shMain.Cells(Rows.Count, 1).End(xlUp).Row
    With bot
        For r = 2 To m
            sFileNo = vbNullString
            sFileNo = shMain.Cells(r, 1).Value
            Dim eleFileNo As Object
            Set eleFileNo = .FindElementByXPath("//*[@id='fileNo']")
            .ExecuteScript "arguments[0].click();", eleFileNo
            With .FindElementByXPath("//*[@id='fileNo']")
                .Clear: .SendKeys sFileNo
            End With
        Next r
    End With
End Sub

I tried to react with the element with the id fileNo but with no success at all Here's the outerhtml

I couldn't post the html here, so this is a link of it https://www.mediafire.com/file/eskv62r5l9485sm/htmloo.html/file



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source