WebElement removeReadOnly=driver.findElement(By.xpath("//input[@id='mat-input-0']"));
js.executeScript("document.getElementBypath('//input[@id='mat-input-0']').removeAttribute('readonly');","removeReadOnly");
Error: There is a JavaScript error of missing ) after the argument list.