Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mike-white-extr opened this issue Nov 20, 2015 · 3 comments

Comments

@mike-white-extr
Copy link

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
Copy link
Owner

tobijk commented Nov 20, 2015

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
Copy link
Owner

tobijk commented Nov 23, 2015

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
Copy link
Owner

tobijk commented Nov 23, 2015

Closing as invalid.

@tobijk tobijk closed this as completed Nov 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants