???
You just interact with it like you did with the chest
RS2Widget grapeWidget = getWidgets().getWidgetContainingText("Grapes");
if (grapeWidget != null && grapeWidget.interact("What ever the buy interaction is")) {
//sleeps
}
And if there's a menu open, like when you right click, you can use the menuAPI to get the options and click on one.