tobijk / caius

A functional testing framework in object-oriented Tcl
MIT License
26 stars 5 forks source link

WebDriver is unable to element by_partial_link_text with extend ASCII characters #18

Closed mike-white-extr closed 8 years ago

mike-white-extr commented 9 years ago

I have a web interface that has extended ASCII characters in this case I am using the element by_partial_link_text with the following text Français The page has the following html Français the script can find it if i remove all the extended ascii characters "Fran" but in the future I will need to find the extended ASCII If you would like to test it is online at: https://www.ezcloudx.com/#/ it is from the internationalization pulldown top left.

tobijk commented 9 years ago

I won't be able to check this before Monday. In the mean time, please double check that your pages (and your server) advertise the correct page encoding. If I access the page above in iOS I see Francais all garbled which to me seems that it cannot detect the encoding of the page.

tobijk commented 8 years ago

As I suspected, the content encoding is not advertised. Please add

<meta charset="utf-8" />

to your pages and/or let your server advertise the content encoding. Then your problem will go away.

tobijk commented 8 years ago

Closing as invalid.