Skip to content

[RPA][ERROR] - cannot find example.png - Windows display zoom level #119

Closed
@pierrekublik

Description

Hey All,
I looked through the Forum but only found a related, but not the same error.
I want to use the following Code:

r.init(True, False)
r.click("Zertifikate.PNG")
r.close()

I get the error message: "- cannot find Zertifikate.PNG"
The file "Zertifikate.PNG" is in the same Folder like my jupyter Notebook.
I made the screenshot via "Windows" + "shift" + "S" for my Zertifikate.PNG
I use Jupyter Notebook via Anaconda.

If I use the coordinates of the Picture with r.click, it clicks on the Image.
But why does it not work with the png file?
Attached is the complete Log and the Jupyter Code.

fehlermeldung
jupyter hub ausschnitt

It took me the whole day now and I couldnt find the solution for Windows.
I would be so glad if you can help me.

Btw: I am relatively new to programming.

Best regards

Pierre

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions