Selenium Webdriver (VBA): Explicit Wait
<p>I am navigating a web application that will often throw an error if there is an attempt to click an element before it can be interacted with. </p>

<p>When using Selenium WebDriver (java), I can easily work around the problem:</p>

<pre><code> WebDriverWait wait = new WebDriverWait(driver, 15);

 wait.until(ExpectedConditions.elementToBeClickable(By.id("element")));
</code></pre>

<p>However, I am trying to write the script in VBA utilizing the Selenium type library, and, despite trying numerous different ways, the only success I am having is:</p>

<pre><code>webdriver.wait
</code></pre>

<p>which I have been told should be avoided if at all possible. If someone can advise how to translate my java into VBA, or provide any other solution, I would be extremely grateful. </p>