I am using selenium with C# to focus on an iframe which does not contain any name or id. I have tried to use an index 0 as there is only one frame on the page but I am getting the following errors:
OpenQA.Selenium.InvalidSelectorException & Error: The given selector frame#0,iframe#0 is either invalid or does not result in a WebElement. The following error occurred: InvalidSelectorError: An invalid or illegal selector was specified & InnerException
Any idea how I can focus on the iframe apart from these 3 options? Any help is highly appreciated.