how to get rid of quotes in xpath

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

how to get rid of quotes in xpath

Selenium - Users mailing list
Hi all,

I have a xpath I'm not able to use it because f single and doubles quotes inside it. Could anyone help me out to get rid of the quotes and use of xpath

by.xpath('//*[@ng-class="'level-' + 3 + (row.branch.selected ? ' active' : '' ) + ' '+ (row.branch.mark ? 'ancestor-mark': '') + ' ' + row.classes.join(' ')"]');

Appreciate your valuable answer.


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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit
For more options, visit