Hi Ahron321,
Welcome to MSDN forum.
It seems you use selenium framework to test, I’m afraid, since our forum discusses about Web Performance Test, Load Test and Coded UI Test,
I recommend you could go to
Stack Overflow tagged with selenium chromedriver or
selenium, and start a new thread there to seek for a more professional help.
BTW, maybe following codes could help you.
WebDriver driver = new ChromeDriver();
driver.findElement(By.xpath("/html/body/XXXX/div/div/button\r\n" +"")).click();
Hope this helps and have a nice day.
Best Regards,
Tianyu
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.