I need help with extracting parameter from URL. I have used
String url = driver.getCurrentUrl()
to catch current URL.
After that, I need to extract value from the parameter called oauth_verifier from
http://localhost:4200/consent?oauth_token=something&oauth_verifier=something
so I can use it later in code.
Any help would be great. Thanks in advance!