Category: automation

Selenium with Python 0

Selenium with Python

Debugging Use something like http://www.pyzo.org/pyzo_intro.html Documentation http://selenium-python.readthedocs.io/api.html?highlight=phantom#module-selenium.webdriver.remote.webdriver Troubleshooting Problem : WebDriverException: Message: 'geckodriver' executable needs to be in PATH. or selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH. Solution https://github.com/mozilla/geckodriver/releases Put geckodriver.exe in your...

Ghost process after running PhantomJS 0

Ghost process after running PhantomJS

Spooky !   Short term solution $> ps -ef | grep phantom | grep -v grep | awk '{print $2}' | xargs kill -9   Better long-term solution Using driver.quit() : driver = webdriver.PhantomJS(service_args=['--ignore-ssl-errors=true', '--ssl-protocol=any']) driver.get('https://'...

How to install and use a BrowserShots server ! 0

How to install and use a BrowserShots server !

What will this page do for you Install browsershots locally (called shotserver) Install a screen shot factory (called shotfactory) Instructions instructions were tested in linux debian with these versions : Python 2.7.3 Django 1.6.7...