You can start with some basic debugging, instead of just using ->click(), first test that each find_element succeeds or not. Likely that will reveal the problem.
In reply to Re: Selenium with PhantomJS not able to click links correctly
by Loops
in thread Selenium with PhantomJS not able to click links correctly
by jaypal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |