i am trying to open a NewPage via siteadmin using selenium, Since the id is getting change after every refresh , hence its not a consistent behavior,
Further not able to input text to the newly opened dialog box.
<input type="text" size="20" autocomplete="off" id="ext-comp-1079" name="title" class="x-form-text x-form-field x-form-invalid" style="width: 311px;">
driver.findElement(By.cssSelector("title")).sendKeys(wf.getProjectName());
finding by name does not give any result.
Can any one guide !!