Remove spurious calls to sleep #4

Merged
weskerfoot merged 2 commits from fix-waits into master 5 years ago
weskerfoot commented 5 years ago (Migrated from github.com)
Owner
  • Removes some unnecessary calls to time.sleep and replaces them with driver.implicitly_wait(10) at the beginning of the script. This means Selenium will poll for at most 10 seconds before any elements exist.

  • Make it clearer that 5000 posts is the "max" for each execution of the script for now.

- Removes some unnecessary calls to `time.sleep` and replaces them with `driver.implicitly_wait(10)` at the beginning of the script. This means Selenium will poll for at most 10 seconds before any elements exist. - Make it clearer that 5000 posts is the "max" for each execution of the script for now.
The pull request has been merged as bd2e73aa7c.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.