How to click on the above Menu Layout Button? using the Appian Selenium
Discussion posts and replies are publicly visible
Hi anbus0002 ,Identify a Unique XPath/CSS Selector for the Menu Layout Button.Check the following Selenium code if you are trying to test or using RPA:
WebDriver driver = AppianObjectRepository.getWebDriver(); WebElement menuButton = driver.findElement(By.xpath("//button[contains(@class, 'Button---secondary') and contains(@class, 'Button---small') and contains(@class, 'Button---with_icon')]")); menuButton.click();
If it's RPA, then you can refer this link - Browser Java ModuleNote: The above code is just for reference, identify exact relative xpath !!!