Python Forum
not abel to run selenium automation one by one in loop
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
not abel to run selenium automation one by one in loop
#5
(Apr-25-2020, 07:07 PM)Jeff900 Wrote: OK, maybe you can use an if statement that will look if i (from the loop) is odd or even. You can use modulus for that.

if i % 2 == 0: 
    # execute function 2 
else:
    # excute function 1
If you can't figure this concept, find some info about modulus.

its still not working, same thing happening, every function repeating 2 times, i dont want like that. i want it to work like, 1 function should work once then it should go to other function.
Reply


Messages In This Thread
RE: not abel to run selenium automation one by one in loop - by DevilzKingz - Apr-25-2020, 07:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Selenium Chromedriver Automation Help lessthanthree 1 2,190 May-05-2020, 11:03 PM
Last Post: Larz60+
  Error in Selenium: CRITICAL:root:Selenium module is not installed...Exiting program. AcszE 1 3,698 Nov-03-2017, 08:41 PM
Last Post: metulburr
  Python Selenium Document Lookup and Download Automation Error - Target Machine active Guttmann 4 5,273 Apr-18-2017, 12:13 AM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020