FAQ
Hi,

The below code is clicking "Flights" link but its not opening the flights
page, If i did manually also its not opening. but If i opened new Firefox
browser and then click on "Flights" button its Opened.

Can you please suggest me, is there any browser settings required here??




public void FlighBookingExample(){
  ProfilesIni oProfile = new ProfilesIni();
FirefoxProfile myProfile = oProfile.getProfile("RameshNewProfile");
  oBrowser = new FirefoxDriver(myProfile);
oBrowser.get("http://newtours.demoaut.com/");
oBrowser.findElement(By.linkText("Flights")).click();
}


*With Regards,*
Ramesh Geddam,

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJ%2BpDKV%3DMdbMYhR0K1i9N%2BRXuMQ93NLBmPfiO29ApnXr1jSavg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupselenium-users @
categoriesselenium
postedApr 10, '15 at 7:43p
activeApr 13, '15 at 12:28p
posts3
users3
websiteseleniumhq.org

People

Translate

site design / logo © 2021 Grokbase