I have a dropdown selection, the class changes based on the mouse movement on the dropdown values (Active value)
I tried the below code and it worked for 'Individual'
driver.findElement(By.cssSelector("div[class=ui-menu-item-wrapper]")).click();
If you see the screenshot, Class 'ui-menu-item-wrapper' is same for both Individual and Corporation.
Question: I am not sure how to select Individual or Corporation using cssSelector. I want to give Individual or Corporation from the excel data feed.