I have to verify if a button is adjacent to a textarea using java , selenium IDE.
The textarea and the button are seperated by a spacing ( this is also included in the xpath). As far as what i have done is to just check if the text is present.
Boolean element_button = driver.findElements(By.Xpath("//...").size()!=0;
Similar for text area.But how is it possible to verify if they are adjacent.