I've encountered a problem
I searched this on google https://www.google.com/search?q=sen%20do&uule=w+CAIQICIZSG8gQ2hpIE1pbmggQ2l0eSwgVmlldG5hbQ%3D%3D and manual clicked on the first result (this link is attached with ads), I got the current url https://www.sendo.vn/?utm_source=google&utm_medium=affiliate&utm_campaign=333629566-13485316726&gclid=EAIaIQobChMI9eKR_YCh9AIVCz5gCh2ang22EAAYASAAEgI80_D_BwE
Did the same with the above link, used the code below but it only returned https://www.sendo.vn/ (Missing the params)
Here is the code
driver.get("${the_above_google_search_url}")
// Find first result element
Web firstResultElement = driver.findElement(By.className("iUh30"))
firstResultElement.click()
String currentUrl = driver.getCurrentUrl()
Any solution to get full url path with Selenium like manual click?