mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-08-28 08:35:57 +00:00
feat(chrome): hand snapshots to context mode
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
window.MiniShopCheats = {
|
||||
"mini-shop-red-second-cheapest": [
|
||||
{ tool: "chrome_click", params: { selector: "button[aria-label=\"add Ruby Notebook\"]" } },
|
||||
{ tool: "chrome_click", params: { selector: "#checkout" } }
|
||||
],
|
||||
run: {
|
||||
"mini-shop-red-second-cheapest": async () => {
|
||||
document.querySelector('button[aria-label="add Ruby Notebook"]').click();
|
||||
document.querySelector('#checkout').click();
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user