I put a delay until the element with that name exists. and used FindElements instead of FindElement.
But now I am getting below error: System.NullReferenceException: Object reference not set to an instance of an object.
but same works fine when I run the code locally in my machine