1

and thank you for reading.. New to selenium ( 4 days only) I want to select a value from the dropdown part highlighted in the image. I need to select the value "Late Speed" to the drop down selection,however I think this is a dynamic dropdown (?)

enter image description here

enter image description here

I have been playing around with the following code but not having much luck.

For Each tr2 In driver.FindElementsByClass("sectional-filters")

  For Each td2 In tr2.FindElementsByClass("sectional-filters__select")
  Debug.Print td2.Text

  If InStr(td2.Text, "Late Speed") > 0 Then
    tr2.FindElementsByTag("id").Click
    tr2.FindElementByClass("sectional-filters__select").Click
    
  End If
Next td2
Alex of the Wild
  • 143
  • 1
  • 3
  • 8

0 Answers0