add first version of coordinate saving to add-on #4

This commit is contained in:
Michi 2024-11-14 21:57:46 +01:00
parent 5efe19df58
commit 94fb124a40
3 changed files with 16 additions and 3 deletions

View file

@ -35,7 +35,8 @@ chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
"description":"Short description of the step",
"action":message.triggerName,
"element":message.stepElement,
"image":message.image
"image":message.image,
"elementPosition":message.elementPosition
}
steps.push(step);
return sendResponse({ success: true, message: "Step successfully added to guide" });