Avatar of sharingsunshine
sharingsunshine
Flag for United States of America

asked on 

Optimum versions of Selenium Webdriver with Python On Windows 7

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.
PythonXMLWindows 7SeleniumC#

Avatar of undefined
Last Comment
sharingsunshine

8/22/2022 - Mon