Selenium web driver :Dynamic page default | Selenium Forum
M
Posted on 11/02/2017
Hi Sir,
I was creating test suit for Makemytrip website where in I am trying to select a date in flight Departures. I am facing an issue with respect to page defaults, every time website defaults a different tab, like flights ,hotel etc. Due to this my code is not able to locate the elements present in Flights tab.
How shall I handle this?


Regards
Akanksha

M
Replied on 11/02/2017

[quote:5e2pzcdt] time website defaults a different tab[/quote:5e2pzcdt]

what does website default means?


M
Replied on 21/02/2017

I tried testing makemytrip.com,when i open the url everytime it opens with different options
like sometimes flights tab is open, sometime hotels are open
If i would like to see which tab is open , how shall i verify that?
I was trying to select calender date in the flights section.
Also this makemytrip has two different front end/version it seems,.It makes diffcult to know which one will open at times.


M
Replied on 21/02/2017

Instead of "makemytrip.com", use URL as https://www.makemytrip.com/flights