Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in method with webelement.py #818

Closed
roman85 opened this issue Jul 22, 2015 · 1 comment
Closed

Typo in method with webelement.py #818

roman85 opened this issue Jul 22, 2015 · 1 comment
Labels

Comments

@roman85
Copy link

roman85 commented Jul 22, 2015

I am running the same selenium test I have been running everyday, except today I have been having a failure due to a typo I believe.

The test fails with AttributeError: 'WebElement' object has no attribute '_exceute':

The failure is found in File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 375, in screenshot_as_base64
return self._exceute(Command.ELEMENT_SCREENSHOT)['value']

The failing method is:

@property
def screenshot_as_base64(self):
    """
    Gets the screenshot of the current element as a base64 encoded string.

    :Usage:
        img_b64 = element.screenshot_as_base64
    """
    return self._exceute(Command.ELEMENT_SCREENSHOT)['value']

What is up with the word exceute here?

@roman85
Copy link
Author

roman85 commented Jul 22, 2015

The OS is

Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

@ddavison ddavison added the C-py label Jul 22, 2015
@lock lock bot locked and limited conversation to collaborators Aug 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants