I wrote this code to get a link via xpath:
Code: Select all
webDocument = @"/dom[@caption~'^Ferien']";
ATag lnkRegisterAvailability = webDocument.FindSingle<ATag>(@".//div[@class='objectDetailsWrapper']/ul/li[2]/a");
It works....
But suddendly, when I debug, the ATag can not be find again.
But it is the same code.....and the DOM is also the same???!!!
What goes wrong....???
Sorry, but currently I can not write 5 minutes code without interruptions...
Thanks for any help
Regards,
Oliver