Binding: Python 3 Selenium Browser: Safari, FireFox, Chrome
I am getting different text returned when making a call to get '.text' for a span that looks like the following:
<span class='my-upper' href='some/url'> my link</span>
Where the class does:
text-transform: uppercase;
On Chrome and FireFox I get "My Link", but on Safari 11.0 I get " my link"
Note: lowercase and the leading space. It looks like it is returning exact value from html and not what is displayed on the screen
Any one have any ideas on how to work around this.
Thanks
Aucun commentaire:
Enregistrer un commentaire