I need to use selenium-webdriver to click on a specific div element identified by the id "send-button"
driver.findElement(By.xpath("//a[contains(text(),'Send anonymously')]")).click();
driver.findElement(By.id("send-button)).click();
(async function example() {
let driver = await new Builder().forBrowser('firefox').build();
try {
await driver.get('https://onyolo.com/VFUF5VtxPJ');
await driver.findElement(By.name('text')).sendKeys('test', Key.RETURN);
await driver.findElement(By.xpath("//a[contains(text(),'Send anonymously')]")).click();
await driver.wait(until.reload);
} finally {
await driver.quit();
}
})();
The website's HTML code shows the following:
<div id="send-button">Send anonymously</div>