New answers tagged python
I'm pretty sure it is supported. I had the same error using python3, selenium 2.38.1, and ubuntu 13.10. Here is how I fixed it. While investigating selenium suddenly not working after I upgraded it, I noticed that calling pip3 list showed an error as well. You can see a similar error as to what I had here: https://github.com/pypa/pip/issues/1093 So ...
When looking at your post I noticed you are using Python 3.3. I'm not sure httplib is supported in 3.3. On this 2.7 standard library page, httplib can be found. On this 3.3 standard library page, httplib cannot be found: Have you tried calling the same script from a Python 2.7 installation and received the same error?
It seems you may not be accustomed to piping. No worries, it was new to everyone at some point. By using the shell to call your tests, you're mostly there already. A key thing here is that anything that get's written to your terminal can be "piped" into a file that you name. If you are seeing those results in your terminal, then you can route them to a ...
At first glance, this appears to be a Python question rather than a QA question. The answer to the Python question is something like, x = 'SEM W880 Black' browser.find_element_by_xpath("//span[contains(.,'" + x + "')]") If I misunderstood you, please update the question.
Top 50 recent answers are included