xpath - Locating image in selenium -
i want check if logo (image) displayed or not unable find out xpath same.the html code below:
<div class="page-wrapper"> <a class="brand pull-left" href="www.com">the logo<\a>
what possible xpath verifying "the logo " displayed.
may 1 of these works:
//a[contains(text(), 'the logo')] //a[contains(text(), 'the logo') , @href='www.com'] //div[@class='page-wrapper']/a[contains(text(), 'the logo')] //div[@class='page-wrapper']/a[contains(text(), 'the logo') , @href='www.com']
Comments
Post a Comment