browser-extension icon indicating copy to clipboard operation
browser-extension copied to clipboard

Issue with back button/pdf docs in browser

Open abbaskhank opened this issue 2 years ago • 2 comments

I have tried a couple of websites where I'm trying to download documents from, it does pretty good job at identifying the docs but then after opening a doc it fails to go back to download more. Starting page: https://louisville.edu/purchasing/bids Next page: this works as expected https://louisville.edu/purchasing/bids/RP-026-22 Next page: this is where it should download the document but instead it click on the doc which opens a pdf in the browser and then things fail https://louisville.edu/purchasing/bids/rp-026-22-document

Error Invalid argument type: Expected a number for argument "elementId", but got ""B186503E38A0DCEF54EB2C9C31EE4177"".

The user requests the following task:

Download all open bids details that I need to submit my proposal

You have already taken the following actions: <Thought>I should click on each bid to access its details</Thought> <Action>click(469)</Action>

<Thought>I should click on all the related documents to download the details</Thought> <Action>click(476)</Action>

Current time: 3/30/2023, 6:11:06 PM

Current page contents:

Response

<Thought>I should download the PDF file</Thought> <Action>click("B186503E38A0DCEF54EB2C9C31EE4177")</Action>

Action

{ "error": "Invalid argument type: Expected a number for argument "elementId", but got ""B186503E38A0DCEF54EB2C9C31EE4177""." }

abbaskhank avatar Mar 30 '23 22:03 abbaskhank

Very weird. Could you also post the "Prompt" section of the last action?

arcticfly avatar Apr 07 '23 22:04 arcticfly

i will try to recreate it but basically it just fails every time you click on a link that opens a pdf. Not fails per say bit it just doesn't know what to do after that, maybe it consider that pdf doc a new website?

abbaskhank avatar Apr 10 '23 02:04 abbaskhank