79450896

Date: 2025-02-19 10:03:27
Score: 3
Natty:
Report link

The error "Element not found" means the locator is incorrect. Can you share the HTML source of your test page here?

You'd better add a breakpoint in the line of "self.select_action.click()." and check the HTML source. a typical behavior of a dynamic element is to add some classes to the element. You may try

"//div[contains(@class,'ant-select-selector')])[3]"

to locator the element. If the failure still exists, paste the HTML source of this element here. I will help you to check this issue.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Bin