The problem:
- I have several processes that need to run in one iFrame, and I have another process that needs to run concurrent to the others but in a different iFrame. If I use
driver.switch_to_frame("frame1")
then the processes inframe2
will crash.
Attempted solution:
- I have processes in
frame1
start the process inframe2
and wait for it to finish before continuing. I don't like this because the processes are time sensitive and this slows them down considerably. This also isn't easily scalable to >2 iFrames.
What I'm trying to ask is, is there an elegant way for the driver to focus on multiple iFrames at the same time? I'm using Python, but if you have a solution in another language I would be happy to learn it.