I wrote a script to loop through a series of keystrokes to approve a list of contacts. The script clicks on a link that opens another window. The script then changes to that tab and clicks another link. It then switches to that tab and closes. Then closes the other tab that returns back to the original tab. Most of the time this runs without any problem. However, sometimes it runs through 2 iterations and other times it runs through 20 or 30. I get an error message at various times that reads: E225: DOM failed to be ready in 30sec. When I look at the page, it looks like it’s fully loaded. Any suggestions on how to fix?