79075659

Date: 2024-10-10 18:12:32
Score: 1
Natty:
Report link

There can be muliple methods depending upon the situation. One thing that you can try is taking screenshot of only dropdown element.

driver.find_element(By.ID, id).screenshot('element_screenshot.png')

If you can share web page URL of copy of webpage I can test and find working solution.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muhammad Bilal