Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to take screenshots for UI element?
#14
for (var e = w.Elm["web:LINK", "* Brand Logo"].Find(); e != null; e = e.Navigate("pa3 ne ch3 fi2")) {
    e.Focus();
     keys.send("Apps");

Hi Gintaras, I really can't figure out how this line of code can implement the entire for loop,could you please tell me how this code works? Also, I don't see you using e.scroll to(), but the code still focuses on the element, what's the reason for that? 

Thank you for the explanation!


Messages In This Thread
RE: How to take screenshots for UI element? - by birdywen - 05-15-2023, 04:40 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)