selenium webdriver - Element should have been "select" but was "div" -


unable perform select operation on drop down

driver.get("https://www.airvistara.com/trip/"); driver.findelement(by.xpath("//div[@id='arrivesat-div']")).sendkeys("bengaluru (blr)"); webelement drop = driver.findelement(by.classname("selectric")); 


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -