Selenium Webdriver – Stale element exception when clicking on multiple dropdowns while HTML DOM doesn’t change
When you select Insurance Test Client then only you get the option Product Insurance, which essentially means the HTML DOM gets changed, which results in StaleElementException. To avoid that, once we select from the first dropdown, we need to induce some wait for the elements of the second dropdown to render in the HTML DOM. … Read more