Macro which pastes from clipboard was working before latest update. Now all I get is “no luck” instead of clipboard value using {!clipboard} in firefox. Full line reads: Type, #efp, {!clipboard}
I have same problem with latest version
I stored a text in clipboard and show
!CLIPBOARD “no luck”
Need fix
Thanks
I confirmed this bug. It shows in Firefox “only”. Of course, it will be fixed ASAP.
{
"Name": "22",
"CreationDate": "2021-1-29",
"Commands": [
{
"Command": "store",
"Target": "123 Hello",
"Value": "!clipboard"
},
{
"Command": "echo",
"Target": "${!clipboard}",
"Value": ""
}
]
}
This issue is fixed with V6.0.5.
The same bug is in ui vision version 6.2.6 for firefox, need to fix it, thanks
This bug is in list to do already
Ui vision for Firefox will be updated soon
This bug is fixed in the upcoming Ui.Vision for Firefox 2024 version. Internally it works already
As already mentioned above, this issue is fixed in the new Ui.Vision for Firefox V9.1.8
I’m on Firefox 127.0.2 and the UI.Vision RPA extension version 9.2.7 but is is still only retrieving “no luck” from the clipboard with ${!clipboard}
Is there something wlse I need to change to make this work or is it still broken for others?
Hi @mygrove - I tested with this macro and all works fine in V9.2.7 - can you please post a video of you running this macro?
Test macro:
{
"Name": "clipboard_test",
"CreationDate": "2021-1-29",
"Commands": [
{
"Command": "store",
"Target": "123 Hello",
"Value": "!clipboard"
},
{
"Command": "echo",
"Target": "${!clipboard}",
"Value": ""
}
]
}
Yes, this macro works, but if I save to clipboard (in Windows) it does not retrieve the saved content from the clipboard. The webpage (behind a login) does have a “save to clipboard” button which does work manually and effectively does the same as Ctrl+V.
Probably the “save to clipboard” function only works if it is performed in manual mode (with the mouse).
It often happens on sites that some buttons or functions require manual operation in order to function correctly.
That is a good point. → @mygrove, please try this: In your macro, click the “Save to clipboard” button with XClick, not with normal Click. Does it work then?
Neither Click nor XClick work as expected.
In Firefox it saves the string “no luck”.
In Chrome/Brave it actually saves the content of the ‘target’ field i.e. the xpath string to the clipboard.
@mygrove Strange, can you post a video of the macro running?
I can’t really post a video as it’s behind a paywall, but here is part of the script that’s not working.
{
"Command": "clickAndWait",
"Target": "xpath=//*[@id=\"result-GBC/1881/0007316865\"]/td[8]/span/span/div/div/div/a",
"Value": "",
"Description": ""
},
{
"Command": "comment",
"Target": "Click \"Copy to clipboad\" button",
"Value": "",
"Description": ""
},
{
"Command": "XClick",
"Target": "xpath=//*[@id=\"main\"]/section/div/article/div/div/h2/button/span",
"Value": "",
"Description": ""
},
{
"Command": "store",
"Target": "${!clipboard}",
"Value": "!csvLine",
"Description": ""
},
{
"Command": "csvSave",
"Target": "fmpclip",
"Value": "",
"Description": ""
}
]
}
@mygrove Do you get the “no luck” message always or “only” sometimes?
As a test, can you run the below macro? Does it work for you?
{
"Name": "clipboardtest2",
"CreationDate": "2024-7-1",
"Commands": [
{
"Command": "store",
"Target": "this content should be overwritten at macro end",
"Value": "!clipboard",
"Description": ""
},
{
"Command": "open",
"Target": "https://www.w3schools.com/howto/howto_js_copy_clipboard.asp",
"Value": "",
"Description": ""
},
{
"Command": "comment",
"Target": "click // xpath=//*[@id=\"main\"]/div[3]/button",
"Value": "",
"Description": "Does not trigger the copy to clipboard"
},
{
"Command": "XClick",
"Target": "xpath=//*[@id=\"main\"]/div[3]/button",
"Value": "",
"Description": ""
},
{
"Command": "echo",
"Target": "This is in clipboard: ${!clipboard}",
"Value": "green",
"Description": ""
}
]
}
I always get “no luck” with my macro. Your test however does work and the clipboard ends up with “Hello World”.
Thanks.
Oh, that is tricky. Maybe you can find a public website that shows the issue? I am sure that once we can debug it, the issue can be solved quickly.