I'm doing an automated web test for my job and I'm having trouble with my code. It didn't do anything
Here's the code from the website I'm trying to work with:<button class="fa fa-2x sidebar-button pull-left fa-bars" ng-click="offcanvasleft()" ng-class="activeLeft ? 'fa-bars' : 'fa-bars'">::before</button>
And here is my code:driver.findElement(By.cssSelector("//*[@id=\"mainrow\"]/div/div/button[1]")).click();
Can someone help me with this? Thank you!