How to refresh a page?
I need to refresh a page inside while loop.
If I am just calling go_to() action it clears all
my variables and exits the script in the end of the cycle
75 go_to('list/')
76 time, wait_time = 1, 1
77 while len(get_
78 ____ print(' Waiting for elements to be recognized')$
79 ____ print(' Will wait for', wait_time, 'seconds')$
80 ____ sleep(wait_time)$
81 ____ time, wait_time = wait_time + time, time$
82 ____ if wait_time > 200: break$
83 ____ go_to('list/')
if iam calling go_to() inside the block my time and wait_time becomes zero and script ends with pass result
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Artem Ustinov for more information if necessary.