| bio | website | weibo.com/okampfer |
|---|---|---|
| location | Chengdu, China | |
| age | ||
| visits | member for | 7 months |
| seen | Feb 13 at 13:02 | |
| stats | profile views | 0 |
.NET vs. Java
|
Oct 10 |
comment |
How to indicate an ` ` in xpath? @user246 I took a look at this, How to enter Unicode characters in Microsoft Windows It seems somewhat complex to enter unicode character. Since starts-with works good enough, I'll stop right here. Thank you for your help! |
|
Oct 10 |
comment |
How to indicate an ` ` in xpath? @user246 In the last post of that discussion, //*[starts-with(translate(text(), ' ', ''), 'filter')]
this line works! Notice: the 2nd argument in translate() function is
nbsp inserted with Alt+0160, what does the Alt+0160 mean? |
|
Oct 9 |
comment |
How to indicate an ` ` in xpath? Is there any more useful xpath function besides starts-with? Can you give me some links where you get to know them? ^_^ |
|
Oct 9 |
comment |
How to indicate an ` ` in xpath? @user246 //label[text()='AgendaShowCapacity (1 remaining)'] doesn't work. |
|
Oct 9 |
comment |
How to indicate an ` ` in xpath? I used to use //label[contains(text(), 'AgendaShowCapacity')] as a workaround, until I notice //label[starts-with(text(), 'AgendaShowCapacity')] in your answer, it is much more accurate to use starts-with than contains. Thank you again! |
|
Oct 9 |
comment |
How to indicate an ` ` in xpath? Thanks, user246. I used to ask this question on stackoverflow but got no helpful result. I found SQA filled with so many selenium webdriver questions so this must be the place I'm looking for. |
|
Oct 9 |
comment |
How to indicate an ` ` in xpath? @SuchitParikh I tried that, but it doesn't work either. Did you mean //label[text()='AgendaShowCapacity \(1 remaining\)']? |