Solved

Optimum versions of Selenium Webdriver with Python On Windows 7

Posted on 2016-10-18
  • Python
  • XML
  • Windows 7
  • Selenium
  • C#
  • +3
1
84 Views
Last Modified: 2016-11-12
I need to find a combination of Python, Selenium and Browser version that works best on Windows 7.  I have tried Python 3.5.2, Selenium 2.53.6 and various versions of Firefox but none of them will do what I need done.

I just need to select all of a page in front of me that is a cms page so it isn't showing the html tags or body tags.  The source code isn't a solution either because it is a cms page it leaves out just the content in the window that selenium navigates to. I have tried xpath and that is why I am thinking I need to make sure they all 3 work together well because it shows the following error.

(ff2-32) C:\Users\Randal J. Watkins\ff2>python expertsbrazil_clean.py
Traceback (most recent call last):
  File "expertsbrazil_clean.py", line 82, in <module>
    button = driver.wait.until(EC.visibility_of_element_located((By.CLASS_NAME,
"button.blogg-button.blogg-collapse-right")))
  File "C:\Users\RANDAL~1.WAT\Envs\ff2-32\lib\site-packages\selenium\webdriver\s
upport\wait.py", line 80, in until
    raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
    at FirefoxDriver.prototype.findElementInternal_ (file:///C:/Users/RANDAL~1.W
AT/AppData/Local/Temp/tmpgh8ji3io/extensions/fxdriver@googlecode.com/components/
driver-component.js:10770)
    at FirefoxDriver.prototype.findElement (file:///C:/Users/RANDAL~1.WAT/AppDat
a/Local/Temp/tmpgh8ji3io/extensions/fxdriver@googlecode.com/components/driver-co
mponent.js:10779)
    at DelayedCommand.prototype.executeInternal_/h (file:///C:/Users/RANDAL~1.WA
T/AppData/Local/Temp/tmpgh8ji3io/extensions/fxdriver@googlecode.com/components/c
ommand-processor.js:12661)
    at DelayedCommand.prototype.executeInternal_ (file:///C:/Users/RANDAL~1.WAT/
AppData/Local/Temp/tmpgh8ji3io/extensions/fxdriver@googlecode.com/components/com
mand-processor.js:12666)
    at DelayedCommand.prototype.execute/< (file:///C:/Users/RANDAL~1.WAT/AppData
/Local/Temp/tmpgh8ji3io/extensions/fxdriver@googlecode.com/components/command-pr
ocessor.js:12608)

Open in new window


currently I am running 2.53.6 Selenium, Python 3.5.2 32 bit and FF 48.

Please make recommendations based on experience not just something you have read.
0
Comment
Question by:sharingsunshine
1 Comment
 

Accepted Solution

by:
sharingsunshine earned 0 total points
ID: 41865573
Went to Selenium Google Groups and came up with FireFox 43.0.1, Webdriver 2.53.6 and Python 3.5.2 and I am running it all on Windows 7.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now