Get Url Without Query String Javascript Methods In Selenium