2011-06-12 4 views

Répondre

2

Je pense qu'il est censé être ceci:

from selenium.webdriver.remote.command import Command 
self.driver.execute(Command.CLEAR_APP_CACHE) 

trouvé similaire à https://code.google.com/p/selenium/source/browse/trunk/py/selenium/webdriver/common/html5/application_cache.py

mais je reçois quand je tente de l'utiliser avec Firefox WebDriver

WebDriverException: Message: 'Commande non reconnue: DELETE/session/6086cb3e-2397-470b-919c-ee36a3bb5d32/application_cache/clear'

Questions connexes