Xpath quotes issue

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

Xpath quotes issue

Selenium - Users mailing list
Hi,

I have an Xpath with quotes, Could anyone please help me out to get rid of the quotes in Xpath and use it to locate an element.

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

I appreciate your valuable answers.

--
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 https://groups.google.com/d/msgid/selenium-users/dc526721-0069-47d7-89b4-e8d3977ed590%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.