I am new to selenium and have encountered a syntax anomaly that I cannot figure out. Basically I have to use too many quotations in my selenium command, and they conflict with each other. What is the proper way to write the following command, the quotation marks keep interacting with each other in ways I do not intend.
The error happens around the quotation in
[@value='E-mail
driver.executeScript("document.getElementByXpath('//UIAApplication[1]//UIATextField[@value='E-mail address']').setAttribute('value', 'example')");