79208468

Date: 2024-11-20 18:08:38
Score: 1
Natty:
Report link

You can assign the value of Select_Box_Name to the expression in the if statement

Select_Box_Name = driver.find_element(By.NAME, 'your-name') or driver.find_element(by.NAME, 'full-name'

and then do

if Select_Box_name: print("Found")

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