Webpage Test With Python Selenium: Really Slow Execution
I wrote, in Python, using Selenium, a very simple test of a webpage Here the code: from selenium import webdriver import unittest from selenium.webdriver.common.keys import Keys
Solution 1:
The following should speed things up for you:
upgrade
selenium
to the latest version (currently2.44.0
)pip3 install selenium --upgrade
upgrade
firefox
to the latest version (currently35.0
)
It was slower on my end before the upgrades, now it is:
$ python3 test.py
.
----------------------------------------------------------------------
Ran 1 test in 6.258s
OK
Post a Comment for "Webpage Test With Python Selenium: Really Slow Execution"