I am using PHPunit + Selenium WebDriver .In one of the testcase , I need to do html form validation (checking all required fields are filled or not) this requires me to check whether page refresh event occurs or not after I submit my form ..
Note: I tried implementing the below link (solution-2) but phpunit is throwing sytax error-unexpected 'jsExecutor' How to check if refresh page event occurs or not after an UI event (ex. click on a button)
Please help me