Thank you so much for explaining, explicity weight it was difficult to find as New version has updated support😊
@TechWithAlexDuta8 ай бұрын
Happy to help!
@elsetoskay8616 Жыл бұрын
Hello, your video just helped me so much, but now Im trying to do a reusable method for explicit waits. Any chance you can give me a hand?
@TechWithAlexDuta Жыл бұрын
Thank you for your kind message. For example you can implement a method to accept the WebDriver instance, a predicate function (as condition) and timeout e.g. IWebDriver driver, Func condition, int timeout Call it: WaitUntil(driver, d => d.Title == "Web form", 10);