Hi. Every single day someone is having problems with Selenium and a new topic gets opened in the forum. How many times the users must state this in order for mods to take some action?
SELENIUM DOES NOT WORK CORRECTLY, AT LEAST NOT ALWAYS
There's no guarentee that your driver will be created or your driver.get() function will work seamlessly. It's based on luck. I've handled it somehow until today by nesting try catch blocks one after another. Sometimes I got lucky at the 100th try or so. Today I'm on the verge of going crazy :) I don't pay to get crazy. Do something.
- Don't tell me that it may be caused by the page I'm trying to access. It is not. As I said, sometimes I had to try 100 times in try catch blocks for it to work.
- Don't tell me I should upgrade my Selenium version. I'm already using the recommended version.