I have a scenario where there are 2 dropdowns each having some value and then there is an Add button. so we need to select 1 value from one dropdown and then 1 value from other dropdown, then click on add button and then again select another value from both dropdown. However, when i select the value of 1 dropdown then it throws me an error message -
Element is not clickable at the time
Below is the code:
activityPage.activitiesTab.click()
        browser.driver.sleep(2000);
        activityPage.newActivity.click();
        browser.driver.sleep(2000);
        activityPage.entityDropdown.click();
        browser.driver.sleep(2000);
        activityPage.entitesList(function (items) {
            for (var i = 1; i < items.length; ++i) {
                items[i].click()                        
                    browser.driver.sleep(2000);
                    activityPage.activityDropdown.click()
                    activityPage.entitesList(function (activitiesName) {
                        for (var j = 1; j < activitiesName.length; ++j) {
                            activitiesName[j].click();
                            activityPage.activityDropdown.click()
                            browser.driver.sleep(2000);
                            activityPage.entityDropdown.click();
                            items[i].click()
                        }
                });
            }
        });
 
     
     
    