Im using java programming. Now, here web code;
<button class="btn-link" data-sugg-sources="full_name" data-sugg-technik="make_initial_and_name">NG1ulkan</button>
if i right click and copy > css selector, web is giving me this code;
'.suggestions > ul:nth-child(2) > li:nth-child(1) > button:nth-child(1)'
Now question is : How can i find this element with this selector and how can i focus and click with selenium java? and also im using JavascriptExecutor js = (JavascriptExecutor) driver; in my code for focus