Currently, I am working on a small Test Automation project using C# with Selenium WebDriver. I have run into an issue where some WebElements are not visible or have their 'Displayed' property set to 'false'. This prevents me from performing actions such as clicking a checkbox. After doing some research online, I came across suggestions of resizing the browser window within the code, but that did not solve the problem. I also found hints about using Javascript to address this issue, but I am unsure of how to incorporate Javascript code into my C# project. Any advice or thoughts on how to resolve this would be greatly appreciated. (Just to clarify, the issue arises even when the test is running in debug mode and breakpoints are set.)