Am trying to print links present in travel section of cnn.com.But incorrect links are getting displayed along with valid ones. | Selenium Forum
C
chaitra jagirdar Posted on 12/07/2019

Sir,

Am suppose to get links starting from "http://edition.cnn.com/travel".But several links (200) incorrect links are also getting displayed before the previously mentioned link.

Please find the code & screenshot.

 


C
chaitra jagirdar Replied on 12/07/2019

Snapshot


A
Ashish Thakur Replied on 15/07/2019

Make sure that the XPath of the box is correct.

This usually happens when the box you're trying to use is not properly located.