Skip to content

running multiple scripts at the same time #2773

Answered by mdmintz
wif70068 asked this question in Q&A
Discussion options

You must be logged in to vote

Your "span.mark" selector is incorrect. In case you missed the memo, Cloudflare changed their CAPTCHAs: No more span.mark. Only span now for that selector. (#2766)

The SB() format will automatically quit the browser at the end of the with block.

For multithreading, you have two options:

  1. pytest via pytest-xdist. (Eg. pytest -n3, as seen in SeleniumBase/examples/presenter/multi_uc.py)
  2. ThreadPoolExecutor as shown in SeleniumBase/help_docs/uc_mode.md.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Comment options

You must be logged in to vote
1 reply
@mdmintz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants