I am a new student of Computer Science, excuse if I sound n00b.

What I am trying to do is I am trying to make a simple BOT which can login into the facebook and post a Status.  

I am doing this with the help of Selenium and Eclipse IDE in JAVA.

The problem is although successfully logs in,

But as my Facebook account is not verified it lands into a verification page.

What I want to do is I want to create an IF condition, such that IF the program finds Verification Page it must click on "Not Now" button
ELSE if the account is already verified it can post status from home page.

How do I do this?