javascript - How to close sign in poppup window? I selenium webDriver -


driver.get("https://www.redbus.in");         driver.findelement(by.xpath("//*[@class='icon-down icon ich dib icon-down_wo_bal']")).click();         driver.manage().timeouts().implicitlywait(30,timeunit.seconds);         driver.findelement(by.id("signinlink")).click();         webelement sign=driver.findelement(by.classname("modaliframe"));         driver.switchto().frame(sign);         driver.findelement(by.classname("icon-close")).click(); 

i used code in eclips , try close redbus site in sign in popup window didn't closed.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -