Question : Access VBA
Answered by : braxton-bell
/// <summary>Waiting functions to keep the visual basic editor from not responding</summary> /// <example> /// /// <code lang="vbs"> /// Public Sub TestCase() /// Dim driver As New SeleniumWrapper.WebDriver, Waiter as New SeleniumWrapper.Waiter /// driver.start "firefox", "http://www.google.com" /// driver.open "/" /// Waiter.Timeout = 5000 /// While Waiter.Until(driver.Title = "MyTitle"): DoEvents: Wend /// driver.stop /// End Sub /// </code> /// /// </example> ///
Source : https://github.com/danwagnerco/selenium-vba/blob/master/wrapper/Waiter.cs | Last Update : Tue, 24 May 22