-
I am trying press a button custom_id |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
try: |
Beta Was this translation helpful? Give feedback.
-
for button in m.components[0].children:
if button.label == 'Sell':
await button.click() Try with this. I think you're trying to press button by its name, so I fixed |
Beta Was this translation helpful? Give feedback.
Try with this. I think you're trying to press button by its name, so I fixed
custom_id
tolabel
.