@DuckDuck have you checked it?
Click On element
-
@to-nice said in Click On element:
moveMode: "center",
You have specified a click in the center, also this function is designed to work accurately with elements of any size, to prevent misclicks, sufficiently large paddings is applied on all sides. Clicks are performed at a random position (Determined by the specified mode) closest to the cursor.
-
@spam Thanks for the help, I use save selector on CSS: >CSS> a[href*="/r/"].absolute.inset-0 and execute code: _Idle.moveAndClickOn([[SELECTOR]], {holdCtrl: false, clickType: "left", moveMode: "top", additionalEmulation: false, moveSettings: {speed: 100, gravity: 6, deviation: 2.5}})!
-
@spam You're awesome, it seems to be working perfectly. Can you help me with another problem?
Before clicking "execute code," I should be able to verify that the URL is not external to Reddit, but [[SELECTOR]] only returns the code //a[contains(@id,"post-title")]
in the log. How can I do this?
