You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MultiEvents spin up separate threads for each event. WebDriver is not thread safe. This could be a big problem if both events are interacting with the driver.
The text was updated successfully, but these errors were encountered:
Simon's suggested approach would be best: since we have multiple WebElement references running around potentially being used by multiple "event" threads, having everything delegated to a single thread for a driver would solve this relatively elegantly.
The only other thing I can think of would be to completely redesign MultiEvent's in Synq... but considering I wanted them to be handle Event listening in addition to polling... I'm not sure of any other way. Plus, I quite like how it is implemented.
MultiEvents spin up separate threads for each event. WebDriver is not thread safe. This could be a big problem if both events are interacting with the driver.
The text was updated successfully, but these errors were encountered: