79535700

Date: 2025-03-26 07:42:49
Score: 4
Natty:
Report link

So , I am trying the same thing and got stuck because all the messages are dynamic, and I cannot find any appropriate selector to do the task we want, so just use my trick
Step 1 - Get your driver window where all the messages are displayed
Step 2 - Get the screenshot of the whole driver with the following code snippet
driver.save_screenshot("screenshot.png")
Step 3 - Now take that screenshot and open it with the paint and take the dimensions, which will be used further to crop out the required messages using the pillow module
Step 4 - in the last step, just extract the text of the cropped screenshot and print it in your console

Reasons:
  • Blacklisted phrase (1): I am trying the same
  • Blacklisted phrase (1.5): I cannot find
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Cosmic Entity