The current gmail UI has changed, it opens in a pop up DIV and the ID parameters are changing for each new compose window. Can anyone try to give me the code?
You can do all using XPath (find using By.xpath("xpath expression")
):
"//div[text()='COMPOSE']"
)"//textarea[@name='to']"
"//input[@name='subjectbox']"
"//div[@class='gmail_default']"
(or "//div[@aria-label='Message Body']"
), as it seems they changed their HTML recently)"//div[text()='Send']"