Selenium WebDriver can find element in Chrome but not in FireFox and IE-11
I wrote the following code to find elementin Java when on run on chrome , it identifies the control but when run from firefox and IE-11 , it did not find control.
I also try with name and xpath but result was same not found control.
Can somebody help me . what should i do ?
WebElement BtnSubmit = driver.findElement(By.id(“btnSubmit”));