Skip to content

Conversation

@hali4ka
Copy link

@hali4ka hali4ka commented Nov 28, 2011

...d not be run on failure: AttributeError: 'WebDriver' object has no attribute '_execute'".

…ould not be run on failure: AttributeError: 'WebDriver' object has no attribute '_execute'".
@hali4ka
Copy link
Author

hali4ka commented Nov 28, 2011

update regarding error in IE and Chrome

@adwu73
Copy link
Contributor

adwu73 commented Nov 30, 2011

Tried the modification on IE8 Win 7 with no luck

16:08:51.268 DEBUG Traceback (most recent call last):
File "C:\Python27\lib\site-packages\robot\running\timeouts.py", line 85, in run
return runner.get_result()
File "C:\Python27\lib\site-packages\robot\utils\robotthread.py", line 37, in run
self._result = self.runnable()
File "C:\Python27\lib\site-packages\robot\utils\robotthread.py", line 28, in
self.runnable = lambda: runnable((args or ()), *
(kwargs or {}))
File "", line 2, in capture_page_screenshot
File "C:\Python27\lib\site-packages\Selenium2Library\keywords\keywordgroup.py", line 12, in _run_on_failure_decorator
return method(_args, *_kwargs)
File "C:\Python27\lib\site-packages\Selenium2Library\keywords_screenshot.py", line 27, in capture_page_screenshot
self._current_browser().save_screenshot(path)
File "C:\Python27\lib\site-packages\Selenium2Library\lib\selenium-2.8.1\py\selenium\webdriver\ie\webdriver.py", line 71, in save_screenshot
png = RemoteWebDriver._execute(Command.SCREENSHOT)['value']

@adwu73
Copy link
Contributor

adwu73 commented Nov 30, 2011

I tested this on IE8, Win 7 . It works, tks!!!

@j1z0
Copy link
Contributor

j1z0 commented Jan 17, 2012

Hey Steve,

Yes in fact if you go to the chrome web driver page this issue has been raised there. Apparently it is fixed in the current development version of chrome. So you might want to upgrade your chrome browser. Anyways I'm closing this issue as it's clearly a chromedriver issue and not a s2l issue.

@j1z0 j1z0 closed this Jan 17, 2012
@docent
Copy link

docent commented Feb 17, 2012

I get the same behavior in IE9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants